mirror of
https://github.com/tailscale/tailscale.git
synced 2026-10-08 11:21:51 -04:00
wgengine/magicsock: fix statticcheck failure
Signed-off-by: Luke Kosewski <lkosewsk@tailscale.com>
This commit is contained in:
1 parent
7ce785ef45
commit
261cc2f1a8
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