From b4ff9a578fc9d9fbbe39f576ce891d17531f2cc3 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Tue, 27 Feb 2024 20:02:19 -0800 Subject: [PATCH] wgengine: rename local variable from 'found' to conventional 'ok' Updates #cleanup Change-Id: I799dc86ea9e4a3a949592abdd8e74282e7e5d086 Signed-off-by: Brad Fitzpatrick --- wgengine/userspace.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgengine/userspace.go b/wgengine/userspace.go index 363ffbb45..c5be79517 100644 --- a/wgengine/userspace.go +++ b/wgengine/userspace.go @@ -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) } }