Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
komer3 committed May 8, 2024
1 parent 0e787b6 commit 7f7a603
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controller/linodecluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,10 @@ func (r *LinodeClusterReconciler) reconcile(
// Handle deleted clusters
if !clusterScope.LinodeCluster.DeletionTimestamp.IsZero() {
err := r.reconcileDelete(ctx, logger, clusterScope)
if err != nil && !reconciler.HasConditionSeverity(clusterScope.LinodeCluster, clusterv1.ReadyCondition, clusterv1.ConditionSeverityError) {
if err != nil {
if !reconciler.HasConditionSeverity(clusterScope.LinodeCluster, clusterv1.ReadyCondition, clusterv1.ConditionSeverityError) {
logger.Info("re-queuing cluster/nb deletion")

res = ctrl.Result{RequeueAfter: reconciler.DefaultClusterControllerReconcileDelay}

return res, nil
Expand Down

0 comments on commit 7f7a603

Please sign in to comment.