mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-30 20:51:02 +00:00
control/controlclient: add missing word in comment
Found by review.ai. Updates #cleanup Change-Id: Ib9126de7327527b8b3818d92cc774bb1c7b6f974 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
parent
3f39211f98
commit
ed8bb3b564
@ -625,7 +625,7 @@ func (c *Auto) sendStatus(who string, err error, url string, nm *netmap.NetworkM
|
|||||||
// We CAS here because the caller goroutine is
|
// We CAS here because the caller goroutine is
|
||||||
// doing a Store which we want to want to win
|
// doing a Store which we want to want to win
|
||||||
// a race. This is only a memory optimization
|
// a race. This is only a memory optimization
|
||||||
// and is for correctness:
|
// and is not for correctness:
|
||||||
c.lastStatus.CompareAndSwap(newSt, nil)
|
c.lastStatus.CompareAndSwap(newSt, nil)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user