Skip to content

Commit 39315a5

Browse files
committed
merge
1 parent aa73635 commit 39315a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controller/queuejob/queuejob_controller_ex.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1700,7 +1700,7 @@ func (cc *XController) updateQueueJob(oldObj, newObj interface{}) {
17001700
latestAw, exists, err := cc.appwrapperInformer.Informer().GetStore().GetByKey(key)
17011701
if latestAw.(*arbv1.AppWrapper).Status.State == arbv1.AppWrapperStateCompleted || latestAw.(arbv1.AppWrapper).Status.State == arbv1.AppWrapperStateFailed || latestAw.(arbv1.AppWrapper).Status.State == arbv1.AppWrapperStateDeleted || !exists {
17021702
klog.V(2).Infof("[Informer-updateQJ] Stopping requeue for AW %s with status %s", latestAw.(*arbv1.AppWrapper).Name, latestAw.(*arbv1.AppWrapper).Status.State)
1703-
break
1703+
break //Exit the loop
17041704
}
17051705
if err == nil && exists {
17061706
// Enqueue the latest copy of the AW.

0 commit comments

Comments
 (0)