Skip to content

Commit

Permalink
Fix wrong requeue after value to avoid log polluting
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Makhov <[email protected]>
  • Loading branch information
makhov committed Dec 10, 2024
1 parent a4aff7e commit 638b352
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 638b352

Please sign in to comment.