From 06a3391b0c5abe4e5175dce46da45b4e26130021 Mon Sep 17 00:00:00 2001 From: Lv Jiawei Date: Wed, 24 Oct 2018 10:47:55 +0800 Subject: [PATCH] Replace resyncTicker with syncTicker in commenting The variable resyncTicker in commenting is out of date. It is replaced with syncTicker. --- pkg/kubelet/kubelet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kubelet/kubelet.go b/pkg/kubelet/kubelet.go index 9fe86751920..d0117f66ccc 100644 --- a/pkg/kubelet/kubelet.go +++ b/pkg/kubelet/kubelet.go @@ -1802,7 +1802,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)