wgengine: rename local variable from 'found' to conventional 'ok'

Updates #cleanup

Change-Id: I799dc86ea9e4a3a949592abdd8e74282e7e5d086
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
pull/11284/head
Brad Fitzpatrick 9 months ago 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)
}
}

Loading…
Cancel
Save