Unverified Commit 160ebd3a authored by k8s-ci-robot's avatar k8s-ci-robot Committed by GitHub

Merge pull request #70162 from MIBc/commenting-error

Replace resyncTicker with syncTicker in comment
parents 5656ac75 06a3391b
...@@ -1801,7 +1801,7 @@ func (kl *Kubelet) canRunPod(pod *v1.Pod) lifecycle.PodAdmitResult { ...@@ -1801,7 +1801,7 @@ func (kl *Kubelet) canRunPod(pod *v1.Pod) lifecycle.PodAdmitResult {
// state every sync-frequency seconds. Never returns. // state every sync-frequency seconds. Never returns.
func (kl *Kubelet) syncLoop(updates <-chan kubetypes.PodUpdate, handler SyncHandler) { func (kl *Kubelet) syncLoop(updates <-chan kubetypes.PodUpdate, handler SyncHandler) {
glog.Info("Starting kubelet main sync loop.") glog.Info("Starting kubelet main sync loop.")
// The resyncTicker wakes up kubelet to checks if there are any pod workers // The syncTicker wakes up kubelet to checks if there are any pod workers
// that need to be sync'd. A one-second period is sufficient because the // that need to be sync'd. A one-second period is sufficient because the
// sync interval is defaulted to 10s. // sync interval is defaulted to 10s.
syncTicker := time.NewTicker(time.Second) syncTicker := time.NewTicker(time.Second)
......
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