fix: golangci-lint

This commit is contained in:
wuqinqiang 2023-12-21 14:45:42 +08:00
parent 2d4049d78d
commit 8467fbd9e4

View File

@ -158,7 +158,7 @@ func BackoffUntil(f func() error, backoff BackoffManager, sliding bool, stopCh <
}
func BackoffUntilNil(f func() error, backoff BackoffManager, sliding bool, stopCh <-chan struct{}) {
//first try
// first try
delay := backoff.Backoff(0, false)
ticker := time.NewTicker(delay)
defer ticker.Stop()