From b420be074f99799e55bc0e08a37d356e7fb78b00 Mon Sep 17 00:00:00 2001 From: Abhishek Malvankar Date: Fri, 20 Oct 2023 14:15:33 -0400 Subject: [PATCH] add AW name --- pkg/controller/queuejob/queuejob_controller_ex.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/queuejob/queuejob_controller_ex.go b/pkg/controller/queuejob/queuejob_controller_ex.go index 6dbb5b9e..da79ee34 100644 --- a/pkg/controller/queuejob/queuejob_controller_ex.go +++ b/pkg/controller/queuejob/queuejob_controller_ex.go @@ -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