Skip to content

Commit d66c9ef

Browse files
Update pkg/controller/job/job_controller.go
Co-authored-by: Aldo Culquicondor <[email protected]>
1 parent e45eef1 commit d66c9ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/controller/job/job_controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -767,6 +767,7 @@ func (jm *Controller) syncJob(ctx context.Context, key string) (rErr error) {
767767
// if job was finished previously, we don't want to redo the termination
768768
if util.IsJobFinished(&job) {
769769
// The job shouldn't be marked as finished until all pod finalizers are removed.
770+
// Cleaning pod finalizers one more time just in case.
770771
jm.cleanupPodFinalizers(&job)
771772
err := jm.podBackoffStore.removeBackoffRecord(key)
772773
if err != nil {

0 commit comments

Comments
 (0)