control/controlclient: remove unused reference to mapCtx (#17614)

Updates #cleanup

Signed-off-by: James Sanderson <jsanderson@tailscale.com>
This commit is contained in:
James 'zofrex' Sanderson
2025-10-30 17:12:08 +00:00
committed by GitHub
parent adee8b9180
commit b6c6960e40
2 changed files with 7 additions and 2 deletions

View File

@@ -78,3 +78,9 @@ func (b *Backoff) BackOff(ctx context.Context, err error) {
case <-tChannel:
}
}
// Reset resets the backoff schedule, equivalent to calling BackOff with a nil
// error.
func (b *Backoff) Reset() {
b.n = 0
}