mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-26 11:36:26 -08:00
wgengine/magicsock: fix statticcheck failure
Signed-off-by: Luke Kosewski <[email protected]>
This commit is contained in:
1 parent
9a73a01603
commit
178e1b006d
1 file changed
+1
-2
@@ -741,10 +741,9 @@ func Test_endpoint_handlePongConnLocked(t *testing.T) {
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
synctest.Test(t, func(t *testing.T) {
|
||||
now := mono.Now() // synctest to match this to the internal 'now'
|
||||
pm := newPeerMap()
|
||||
c := &Conn{
|
||||
logf: func(msg string, args ...any) {},
|
||||
peerMap: pm,
|
||||
peerMap: newPeerMap(),
|
||||
}
|
||||
c.discoAtomic.Set(key.NewDisco())
|
||||
de := &endpoint{
|
||||
|
||||
Reference in new issue
Block a user