Skip to content

Commit

Permalink
Fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
burmanm committed Jul 24, 2024
1 parent a42e6c1 commit 9459310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/k8ssandra/k8ssandracluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9459310

Please sign in to comment.