We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e8b64a commit 159994cCopy full SHA for 159994c
pkg/controllers/job/job_controller_actions.go
@@ -66,7 +66,7 @@ func (cc *Controller) killJob(jobInfo *apis.JobInfo, nextState state.NextStateFn
66
continue
67
}
68
69
- if err := cc.deleteJobPod(job.Name, pod); err != nil {
+ if err := cc.deleteJobPod(job.Name, pod); err == nil {
70
terminating++
71
} else {
72
errs = append(errs, err)
0 commit comments