mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 21:17:23 +00:00
Fix 2 sucessfully
typos
This commit is contained in:
parent
e3e101fbe3
commit
c01c7023a0
@ -186,7 +186,7 @@ func (le *LeaderElector) acquire() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
le.config.Lock.RecordEvent("became leader")
|
le.config.Lock.RecordEvent("became leader")
|
||||||
glog.Infof("sucessfully acquired lease %v", desc)
|
glog.Infof("successfully acquired lease %v", desc)
|
||||||
close(stop)
|
close(stop)
|
||||||
}, le.config.RetryPeriod, JitterFactor, true, stop)
|
}, le.config.RetryPeriod, JitterFactor, true, stop)
|
||||||
}
|
}
|
||||||
|
@ -368,7 +368,7 @@ func (kl *Kubelet) tryUpdateNodeStatus(tryNumber int) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
// If update finishes sucessfully, mark the volumeInUse as reportedInUse to indicate
|
// If update finishes successfully, mark the volumeInUse as reportedInUse to indicate
|
||||||
// those volumes are already updated in the node's status
|
// those volumes are already updated in the node's status
|
||||||
kl.volumeManager.MarkVolumesAsReportedInUse(updatedNode.Status.VolumesInUse)
|
kl.volumeManager.MarkVolumesAsReportedInUse(updatedNode.Status.VolumesInUse)
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
Reference in New Issue
Block a user