mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-25 18:21:01 +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:
parent
a8a525282c
commit
b4ff9a578f
@ -1051,7 +1051,7 @@ func (e *userspaceEngine) getStatus() (*Status, error) {
|
|||||||
|
|
||||||
peers := make([]ipnstate.PeerStatusLite, 0, len(peerKeys))
|
peers := make([]ipnstate.PeerStatusLite, 0, len(peerKeys))
|
||||||
for _, key := range peerKeys {
|
for _, key := range peerKeys {
|
||||||
if status, found := e.getPeerStatusLite(key); found {
|
if status, ok := e.getPeerStatusLite(key); ok {
|
||||||
peers = append(peers, status)
|
peers = append(peers, status)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user