From 9b4baabb03ec5cc6ec82438bf57f608d93669341 Mon Sep 17 00:00:00 2001 From: jigisha620 Date: Mon, 15 Jul 2024 18:48:07 -0700 Subject: [PATCH] chore: change error returned by ResolveNodePoolFromNodeClaim --- pkg/utils/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/utils/utils.go b/pkg/utils/utils.go index 541e115f210e..835d513eb527 100644 --- a/pkg/utils/utils.go +++ b/pkg/utils/utils.go @@ -136,5 +136,5 @@ func ResolveNodePoolFromNodeClaim(ctx context.Context, kubeClient client.Client, } return nodePool, nil } - return nil, fmt.Errorf("nodePool label not found on nodeClaim") + return nil, fmt.Errorf("label %s not found on nodeClaim", karpv1.NodePoolLabelKey) }