Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mfaizanse committed Sep 15, 2023
1 parent 22aa0b2 commit a52e409
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const (
secretKeyTokenURL = "token_url"
secretKeyCertsURL = "certs_url"

thirtySeconds = 30 * time.Second
reconcileInterval = 30 * time.Second
)

var (
Expand Down Expand Up @@ -216,7 +216,7 @@ func (r *Reconciler) reconcileNATSBackend(ctx context.Context, backendStatus *ev
return ctrl.Result{}, errors.Wrapf(err, "failed to update status while starting NATS controller")
}
r.namedLogger().Errorf("failed to start NATS controller: %v", err)
return ctrl.Result{RequeueAfter: thirtySeconds}, nil
return ctrl.Result{RequeueAfter: reconcileInterval}, nil
}

// Delete secret for publisher proxy if it exists
Expand Down

0 comments on commit a52e409

Please sign in to comment.