Adjust the algorithm for computing the pod finish time

Change-Id: Ic282a57169cab8dc498574f08b081914218a1039
This commit is contained in:
Michal Wozniak
2023-06-02 18:42:19 +02:00
parent eca1f9d2d5
commit 70d3bb43e5
3 changed files with 126 additions and 30 deletions

View File

@@ -762,7 +762,7 @@ func (jm *Controller) syncJob(ctx context.Context, key string) (rErr error) {
job.Status.StartTime = &now
}
newBackoffInfo := jm.backoffRecordStore.newBackoffRecord(jm.clock, key, newSucceededPods, newFailedPods)
newBackoffInfo := jm.backoffRecordStore.newBackoffRecord(key, newSucceededPods, newFailedPods)
var manageJobErr error
var finishedCondition *batch.JobCondition