Skip to content

Commit

Permalink
add LogResourceCreation
Browse files Browse the repository at this point in the history
Signed-off-by: Mangaal <[email protected]>
  • Loading branch information
Mangaal committed Dec 17, 2024
1 parent eacf920 commit c9eabb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/argocd/configmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down Expand Up @@ -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)
}
Expand Down

0 comments on commit c9eabb7

Please sign in to comment.