Skip to content

Commit 21c9186

Browse files
asm582openshift-merge-robot
authored andcommitted
remove del TS check
1 parent 5a4bca7 commit 21c9186

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controller/queuejob/queuejob_controller_ex.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1466,7 +1466,7 @@ func (qjm *XController) UpdateQueueJobs() {
14661466
return
14671467
}
14681468
for _, newjob := range queueJobs {
1469-
if newjob.Status.State == arbv1.AppWrapperStateActive && newjob.GetDeletionTimestamp() != nil {
1469+
if newjob.Status.State == arbv1.AppWrapperStateActive {
14701470
klog.V(6).Infof("[UpdateQueueJobs] %s: qjqueue=%t &qj=%p Version=%s Status=%+v", newjob.Name, qjm.qjqueue.IfExist(newjob), newjob, newjob.ResourceVersion, newjob.Status)
14711471
// check eventQueue, qjqueue in program sequence to make sure job is not in qjqueue
14721472
if _, exists, _ := qjm.eventQueue.Get(newjob); exists {

0 commit comments

Comments
 (0)