Skip to content

Commit defb9bb

Browse files
committed
fix comments
1 parent b529400 commit defb9bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/backoff/backoff.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Returned backoff does
2323
- 5 quick roundtrips (exponential, below 1s)
2424
- then 15 roundtrips at 1s
2525
- then 30 roundtrips at 2s
26-
- then rounttrips at 10s
26+
- then rounttrips at maxDelay
2727
*/
2828

2929
func NewBackoff(maxDelay time.Duration) *Backoff {

pkg/component/reconciler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ func (r *Reconciler[T]) Reconcile(ctx context.Context, req ctrl.Request) (result
286286
switch status.State {
287287
case StateReady:
288288
// if getting here from processing state, then trigger one additional immediate reconcile iteration;
289-
// that helps certain implementing operators to check once more (in non-processing state) if something
289+
// that helps certain implementing operators to check once more (in non-processing state) if something
290290
// remains to be done; note: it may happen (if the apply runs successfully through on the first iteration)
291291
// that status.processingSince is never set, and this additional trigger does not happen
292292
if status.ProcessingSince != nil {

0 commit comments

Comments
 (0)