mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-04 07:15:49 +00:00
derp: fix staticcheck warning
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
parent
322cb58b14
commit
1166c34f6c
@ -41,7 +41,6 @@ func TestSendRecv(t *testing.T) {
|
|||||||
}
|
}
|
||||||
defer ln.Close()
|
defer ln.Close()
|
||||||
|
|
||||||
var clientConns []net.Conn
|
|
||||||
var clients []*Client
|
var clients []*Client
|
||||||
var recvChs []chan []byte
|
var recvChs []chan []byte
|
||||||
errCh := make(chan error, 3)
|
errCh := make(chan error, 3)
|
||||||
@ -53,7 +52,6 @@ func TestSendRecv(t *testing.T) {
|
|||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
defer cout.Close()
|
defer cout.Close()
|
||||||
clientConns = append(clientConns, cout)
|
|
||||||
|
|
||||||
cin, err := ln.Accept()
|
cin, err := ln.Accept()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user