Skip to content

Commit

Permalink
Merge pull request #848 from makhov/fix-log-polluting
Browse files Browse the repository at this point in the history
Fix wrong requeue after value to avoid log polluting
  • Loading branch information
makhov authored Dec 10, 2024
2 parents d0439ac + 638b352 commit b9319b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func (c *K0sController) Reconcile(ctx context.Context, req ctrl.Request) (res ct
err = c.reconcile(ctx, cluster, kcp)
if err != nil {
if errors.Is(err, ErrNotReady) {
return ctrl.Result{RequeueAfter: 10, Requeue: true}, nil
return ctrl.Result{RequeueAfter: 10 * time.Second, Requeue: true}, nil
}
return res, err
}
Expand Down

0 comments on commit b9319b3

Please sign in to comment.