Fix requeue warning introduced by controller-runtime

Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
This commit is contained in:
Matheus Pimenta 2024-02-21 15:56:58 +00:00
parent 4de0503b63
commit 4c209ef126
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ func (r *KustomizationReconciler) Reconcile(ctx context.Context, req ctrl.Reques
}
// Retry with backoff on transient errors.
return ctrl.Result{Requeue: true}, err
return ctrl.Result{}, err
}
// Requeue the reconciliation if the source artifact is not found.