Commit 0ee52eb0 authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #17102 from zhengguoyong/add_break

Auto commit by PR queue bot
parents 4b8f232e 79d97aba
...@@ -2605,6 +2605,7 @@ func (kl *Kubelet) setNodeStatus(node *api.Node) error { ...@@ -2605,6 +2605,7 @@ func (kl *Kubelet) setNodeStatus(node *api.Node) error {
} }
node.Status.Conditions[i] = newNodeReadyCondition node.Status.Conditions[i] = newNodeReadyCondition
updated = true updated = true
break
} }
} }
if !updated { if !updated {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment