mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-10 02:39:56 +00:00
Fix CI: drop unused netip import and regenerate proto with original protoc
This commit is contained in:
@@ -5,7 +5,6 @@ import (
|
||||
"crypto/rand"
|
||||
"fmt"
|
||||
"net"
|
||||
"net/netip"
|
||||
"os"
|
||||
"sync"
|
||||
"testing"
|
||||
|
||||
@@ -2,6 +2,7 @@ package client
|
||||
|
||||
import (
|
||||
"context"
|
||||
"io"
|
||||
"net/netip"
|
||||
"testing"
|
||||
"time"
|
||||
@@ -124,7 +125,7 @@ func TestManager_ForeignRelayServerIP(t *testing.T) {
|
||||
}
|
||||
|
||||
buf := make([]byte, len(payload))
|
||||
if _, err := aliceConn.Read(buf); err != nil {
|
||||
if _, err := io.ReadFull(aliceConn, buf); err != nil {
|
||||
t.Fatalf("alice read echo: %s", err)
|
||||
}
|
||||
if string(buf) != string(payload) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.26.0
|
||||
// protoc v7.34.1
|
||||
// protoc v3.21.12
|
||||
// source: signalexchange.proto
|
||||
|
||||
package proto
|
||||
|
||||
Reference in New Issue
Block a user