Skip to content

Commit

Permalink
chore: change error returned by ResolveNodePoolFromNodeClaim
Browse files Browse the repository at this point in the history
  • Loading branch information
jigisha620 committed Jul 16, 2024
1 parent 7d254f8 commit 9b4baab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 9b4baab

Please sign in to comment.