Skip to content

Commit e708f5a

Browse files
SimonTheLegash2k
authored andcommitted
disable linter for NewExponentialBackoffManager
1 parent b2051cf commit e708f5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/kstatus/watcher/object_status_reporter.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,8 @@ func (w *ObjectStatusReporter) stopInformer(gkn GroupKindNamespace) {
272272

273273
func (w *ObjectStatusReporter) startInformerWithRetry(ctx context.Context, gkn GroupKindNamespace) {
274274
realClock := &clock.RealClock{}
275-
backoffManager := wait.NewExponentialBackoffManager(800*time.Millisecond, 30*time.Second, 2*time.Minute, 2.0, 1.0, realClock)
275+
// TODO nolint can be removed once https://github.com/kubernetes/kubernetes/issues/118638 is resolved
276+
backoffManager := wait.NewExponentialBackoffManager(800*time.Millisecond, 30*time.Second, 2*time.Minute, 2.0, 1.0, realClock) //nolint:staticcheck
276277
retryCtx, retryCancel := context.WithCancel(ctx)
277278

278279
wait.BackoffUntil(func() {

0 commit comments

Comments
 (0)