Commit c01c7023 authored by Marc-Antoine Ross's avatar Marc-Antoine Ross

Fix 2 `sucessfully` typos

parent e3e101fb
...@@ -186,7 +186,7 @@ func (le *LeaderElector) acquire() { ...@@ -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 { ...@@ -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
......
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