mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-11 13:18:53 +00:00
wgengine: rename local variable from 'found' to conventional 'ok'
Updates #cleanup Change-Id: I799dc86ea9e4a3a949592abdd8e74282e7e5d086 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:

committed by
Brad Fitzpatrick

parent
a8a525282c
commit
b4ff9a578f
@@ -1051,7 +1051,7 @@ func (e *userspaceEngine) getStatus() (*Status, error) {
|
||||
|
||||
peers := make([]ipnstate.PeerStatusLite, 0, len(peerKeys))
|
||||
for _, key := range peerKeys {
|
||||
if status, found := e.getPeerStatusLite(key); found {
|
||||
if status, ok := e.getPeerStatusLite(key); ok {
|
||||
peers = append(peers, status)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user