mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 17:51:21 +00:00
Make linter happy
This commit is contained in:
@@ -362,7 +362,7 @@ func withBackoff(f func() error) error {
|
||||
for err != nil && retries <= 5 {
|
||||
time.Sleep(backoff)
|
||||
err = f()
|
||||
retries += 1
|
||||
retries++
|
||||
backoff *= 2
|
||||
}
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user