wgengine/magicsock: fix statticcheck failure

Signed-off-by: Luke Kosewski <[email protected]>
This commit is contained in:
Luke Kosewski committed 2026-11-24 15:52:01 -08:00
1 parent 9a73a01603
commit 178e1b006d
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{