Skip to content

Commit

Permalink
Merge pull request kubeedge#5213 from Onion-of-dreamed/automated-cher…
Browse files Browse the repository at this point in the history
…ry-pick-of-#5107-upstream-release-1.15

Automated cherry pick of kubeedge#5107: Fix error logs for nodegroupx
  • Loading branch information
kubeedge-bot authored Nov 27, 2023
2 parents d577953 + d9f3f3f commit bc7c4eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ func (c *Controller) addOrUpdateNodeLabel(ctx context.Context, node *corev1.Node
return nil
}
if ok && v != nodeGroupName {
return fmt.Errorf("node %s has already belonged to NodeGroup %s", node.Name, nodeGroupName)
return fmt.Errorf("node %s has already belonged to NodeGroup %s", node.Name, v)
}

// !ok
Expand Down

0 comments on commit bc7c4eb

Please sign in to comment.