Skip to content

Commit

Permalink
chore: Ignore duplicate nodeclaim error in the repair controller (#1922)
Browse files Browse the repository at this point in the history
  • Loading branch information
engedaam authored Jan 17, 2025
1 parent 48b32a9 commit 93ddb70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controllers/node/health/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (c *Controller) Reconcile(ctx context.Context, node *corev1.Node) (reconcil
// Validate that the node is owned by us
nodeClaim, err := nodeutils.NodeClaimForNode(ctx, c.kubeClient, node)
if err != nil {
return reconcile.Result{}, nodeutils.IgnoreNodeClaimNotFoundError(err)
return reconcile.Result{}, nodeutils.IgnoreDuplicateNodeClaimError(nodeutils.IgnoreNodeClaimNotFoundError(err))
}

// If a nodeclaim does has a nodepool label, validate the nodeclaims inside the nodepool are healthy (i.e bellow the allowed threshold)
Expand Down

0 comments on commit 93ddb70

Please sign in to comment.