mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 23:15:14 +00:00
When find NodeReadyCondition, it can quit the loop
This commit is contained in:
parent
c785a6e77f
commit
79d97abac4
@ -2607,6 +2607,7 @@ func (kl *Kubelet) setNodeStatus(node *api.Node) error {
|
||||
}
|
||||
node.Status.Conditions[i] = newNodeReadyCondition
|
||||
updated = true
|
||||
break
|
||||
}
|
||||
}
|
||||
if !updated {
|
||||
|
Loading…
Reference in New Issue
Block a user