Skip to content

Commit

Permalink
Merge pull request #70162 from MIBc/commenting-error
Browse files Browse the repository at this point in the history
Replace resyncTicker with syncTicker in comment
  • Loading branch information
k8s-ci-robot committed Nov 6, 2018
2 parents 5656ac7 + 06a3391 commit 160ebd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kubelet/kubelet.go
Expand Up @@ -1801,7 +1801,7 @@ func (kl *Kubelet) canRunPod(pod *v1.Pod) lifecycle.PodAdmitResult {
// state every sync-frequency seconds. Never returns.
func (kl *Kubelet) syncLoop(updates <-chan kubetypes.PodUpdate, handler SyncHandler) {
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
// sync interval is defaulted to 10s.
syncTicker := time.NewTicker(time.Second)
Expand Down

0 comments on commit 160ebd3

Please sign in to comment.