From 34fce9faee46e38adf55255a77188120f2567d03 Mon Sep 17 00:00:00 2001 From: Kewei Ma <46899279+kolorful@users.noreply.github.com> Date: Mon, 13 Jan 2020 10:09:06 -0600 Subject: [PATCH] Fix a comment in job_controller --- pkg/controller/job/job_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/job/job_controller.go b/pkg/controller/job/job_controller.go index dbf20c6f5ef..f695dcb1de6 100644 --- a/pkg/controller/job/job_controller.go +++ b/pkg/controller/job/job_controller.go @@ -197,7 +197,7 @@ func (jm *JobController) resolveControllerRef(namespace string, controllerRef *m func (jm *JobController) addPod(obj interface{}) { pod := obj.(*v1.Pod) if pod.DeletionTimestamp != nil { - // on a restart of the controller controller, it's possible a new pod shows up in a state that + // on a restart of the controller, it's possible a new pod shows up in a state that // is already pending deletion. Prevent the pod from being a creation observation. jm.deletePod(pod) return