From ed8bb3b56438a10e9f7bf4b3bb20e0c8ebf6dffb Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Thu, 30 Jan 2025 07:22:52 +0000 Subject: [PATCH] control/controlclient: add missing word in comment Found by review.ai. Updates #cleanup Change-Id: Ib9126de7327527b8b3818d92cc774bb1c7b6f974 Signed-off-by: Brad Fitzpatrick --- control/controlclient/auto.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control/controlclient/auto.go b/control/controlclient/auto.go index a5397594e..92db9382e 100644 --- a/control/controlclient/auto.go +++ b/control/controlclient/auto.go @@ -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 // doing a Store which we want to want to win // a race. This is only a memory optimization - // and is for correctness: + // and is not for correctness: c.lastStatus.CompareAndSwap(newSt, nil) }) }