Skip to content

Commit 159994c

Browse files
authored
fix comment
1 parent 3e8b64a commit 159994c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controllers/job/job_controller_actions.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func (cc *Controller) killJob(jobInfo *apis.JobInfo, nextState state.NextStateFn
6666
continue
6767
}
6868

69-
if err := cc.deleteJobPod(job.Name, pod); err != nil {
69+
if err := cc.deleteJobPod(job.Name, pod); err == nil {
7070
terminating++
7171
} else {
7272
errs = append(errs, err)

0 commit comments

Comments
 (0)