From 94593106a8c2fd9f9e667778b5cc06e36b227d18 Mon Sep 17 00:00:00 2001 From: Michael Burman Date: Wed, 24 Jul 2024 13:35:48 +0300 Subject: [PATCH] Fix rebase --- controllers/k8ssandra/k8ssandracluster_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/k8ssandra/k8ssandracluster_controller.go b/controllers/k8ssandra/k8ssandracluster_controller.go index f7235e77f..b948a8800 100644 --- a/controllers/k8ssandra/k8ssandracluster_controller.go +++ b/controllers/k8ssandra/k8ssandracluster_controller.go @@ -187,7 +187,7 @@ func (r *K8ssandraClusterReconciler) afterCassandraReconciled(ctx context.Contex } func updateStatus(ctx context.Context, r client.Client, kc *api.K8ssandraCluster, kcLogger logr.Logger) result.ReconcileResult { - if AllowUpdate(kc) { + if AllowUpdate(kc, kcLogger) { if metav1.HasAnnotation(kc.ObjectMeta, api.AutomatedUpdateAnnotation) { if kc.Annotations[api.AutomatedUpdateAnnotation] == string(api.AllowUpdateOnce) { delete(kc.ObjectMeta.Annotations, api.AutomatedUpdateAnnotation)