Skip to content

Commit 0140a7b

Browse files
committed
some minor cleanup
1 parent be49d98 commit 0140a7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controllers/job/cache/cache.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ func (jc *jobCache) DeletePod(pod *v1.Pod) error {
226226
}
227227

228228
func (jc *jobCache) Run(stopCh <-chan struct{}) {
229-
wait.Until(jc.processCleanupJob, 0, stopCh)
229+
wait.Until(jc.worker, 0, stopCh)
230230
}
231231

232232
func (jc jobCache) TaskCompleted(jobKey, taskName string) bool {

0 commit comments

Comments
 (0)