wgengine/magicsock: fix statticcheck failure

Signed-off-by: Luke Kosewski <lkosewsk@tailscale.com>
This commit is contained in:
Luke Kosewski committed 2026-09-21 15:48:38 -07:00
1 parent 7ce785ef45
commit 261cc2f1a8
1 file changed
+1 -2
+1 -2
View File
@@ -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{