Skip to content

Commit

Permalink
add AW name
Browse files Browse the repository at this point in the history
  • Loading branch information
asm582 authored and openshift-ci[bot] committed Oct 20, 2023
1 parent 0e24d18 commit b420be0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/queuejob/queuejob_controller_ex.go
Original file line number Diff line number Diff line change
Expand Up @@ -1631,7 +1631,7 @@ func (cc *XController) addQueueJob(obj interface{}) {
klog.V(2).Infof("[Informer-addQJ] Stopping requeue for AW %s/%s with status %s", latestAw.Namespace, latestAw.Name, latestAw.Status.State)
AwinEtcd, err := cc.arbclients.WorkloadV1beta1().AppWrappers(latestAw.Namespace).Get(context.Background(), latestAw.Name, metav1.GetOptions{})
if apierrors.IsNotFound(err) {
klog.V(2).Infof("[Informer-addQJ] Stopped requeueing of AW due to error %v\n", err)
klog.V(2).Infof("[Informer-addQJ] Stopped requeueing of AW %s due to error %v\n", latestAw.Name, err)
break
} else if AwinEtcd.Status.State == latestAw.Status.State && err != nil {
break // Exit the loop
Expand Down

0 comments on commit b420be0

Please sign in to comment.