Skip to content

Commit 7a8e3dc

Browse files
committed
address review 1
1 parent f6fef3b commit 7a8e3dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pkg/controller/queuejob/queuejob_controller_ex.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -371,9 +371,9 @@ func (qjm *XController) PreemptQueueJobs(inspectAw *arbv1.AppWrapper) {
371371
}
372372
// cannot use cleanup AW, since it puts AW back in running state
373373
qjm.qjqueue.AddUnschedulableIfNotPresent(updateNewJob)
374+
generatedCondition = true
374375

375376
}
376-
generatedCondition = true
377377
}
378378

379379
if ((newjob.Status.Running + newjob.Status.Succeeded) < int32(newjob.Spec.SchedSpec.MinAvailable)) && newjob.Status.State == arbv1.AppWrapperStateActive {

0 commit comments

Comments
 (0)