wgengine/magicsock: fix statticcheck failure

Signed-off-by: Luke Kosewski <lkosewsk@tailscale.com>
Signed-off-by: Guy J Grigsby <guy@tailscale.com>
This commit is contained in:
Luke Kosewski authored and Guy J Grigsby committed 2026-12-03 16:59:50 -07:00
1 parent 5431a4b237
commit 5b751f260c
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{