From 1ad923599326c201060b70006d82aa2d69dfe69a Mon Sep 17 00:00:00 2001 From: Harry Zhang Date: Mon, 11 Jul 2016 13:40:45 +0800 Subject: [PATCH] Remove no needed todo --- pkg/kubelet/kubelet.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkg/kubelet/kubelet.go b/pkg/kubelet/kubelet.go index 4f07a6e0fbc..d9f1cf9aa6a 100644 --- a/pkg/kubelet/kubelet.go +++ b/pkg/kubelet/kubelet.go @@ -2018,9 +2018,8 @@ type empty struct{} // HandlePodCleanups performs a series of cleanup work, including terminating // pod workers, killing unwanted pods, and removing orphaned volumes/pod // directories. -// TODO(yujuhong): This function is executed by the main sync loop, so it -// should not contain any blocking calls. Re-examine the function and decide -// whether or not we should move it into a separte goroutine. +// NOTE: This function is executed by the main sync loop, so it +// should not contain any blocking calls. func (kl *Kubelet) HandlePodCleanups() error { allPods, mirrorPods := kl.podManager.GetPodsAndMirrorPods() // Pod phase progresses monotonically. Once a pod has reached a final state,