fix lint (#3877)
This commit is contained in:
1 parent
3bf6605e1a
commit
5e77c8e2d3
5 files changed
+6
-18
No files matched your search
@@ -144,12 +144,6 @@ func BackoffUntil(f func() (bool, error), backoff BackoffManager, sliding bool,
|
||||
}
|
||||
|
||||
ticker.Reset(delay)
|
||||
select {
|
||||
case <-stopCh:
|
||||
return
|
||||
default:
|
||||
}
|
||||
|
||||
select {
|
||||
case <-stopCh:
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user