From c9eabb726dc2085d9a683b4aa8bfe2c91dbd723a Mon Sep 17 00:00:00 2001 From: Mangaal Date: Tue, 17 Dec 2024 09:50:24 +0530 Subject: [PATCH] add LogResourceCreation Signed-off-by: Mangaal --- controllers/argocd/configmap.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/argocd/configmap.go b/controllers/argocd/configmap.go index efa1cda95..08c7d41ef 100644 --- a/controllers/argocd/configmap.go +++ b/controllers/argocd/configmap.go @@ -678,7 +678,7 @@ func (r *ReconcileArgoCD) reconcileRedisHAHealthConfigMap(cr *argoproj.ArgoCD, u } return nil // No changes detected } - + argoutil.LogResourceCreation(log, cm) return r.Client.Create(context.TODO(), cm) } @@ -717,7 +717,7 @@ func (r *ReconcileArgoCD) reconcileRedisHAConfigMap(cr *argoproj.ArgoCD, useTLSF } return nil // No changes detected } - + argoutil.LogResourceCreation(log, cm) // Create the ConfigMap if it does not exist return r.Client.Create(context.TODO(), cm) }