mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 01:40:07 +00:00
Fix comment to more accurately
This commit is contained in:
parent
a4b719dcab
commit
05f52c6f22
@ -228,7 +228,7 @@ func (cnc *CloudNodeController) MonitorNode() {
|
|||||||
time.Sleep(retrySleepTime)
|
time.Sleep(retrySleepTime)
|
||||||
}
|
}
|
||||||
if currentReadyCondition == nil {
|
if currentReadyCondition == nil {
|
||||||
glog.Errorf("Update status of Node %v from CloudNodeController exceeds retry count.", node.Name)
|
glog.Errorf("Update status of Node %v from CloudNodeController exceeds retry count or the Node was deleted.", node.Name)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
// If the known node status says that Node is NotReady, then check if the node has been removed
|
// If the known node status says that Node is NotReady, then check if the node has been removed
|
||||||
@ -262,7 +262,7 @@ func (cnc *CloudNodeController) MonitorNode() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// This processes nodes that were added into the cluster, and cloud initializea them if appropriate
|
// This processes nodes that were added into the cluster, and cloud initialize them if appropriate
|
||||||
func (cnc *CloudNodeController) AddCloudNode(obj interface{}) {
|
func (cnc *CloudNodeController) AddCloudNode(obj interface{}) {
|
||||||
node := obj.(*v1.Node)
|
node := obj.(*v1.Node)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user