Skip to content

Commit

Permalink
fix: golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
wuqinqiang committed Dec 21, 2023
1 parent 2d4049d commit 8467fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/wait/backoff.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 8467fbd

Please sign in to comment.