From 1f6408ef03fecdc0a6762096ee70f14e7b95d169 Mon Sep 17 00:00:00 2001 From: Jaime Silvela Date: Wed, 25 Sep 2024 17:08:27 +0200 Subject: [PATCH] chore: nit Signed-off-by: Jaime Silvela --- internal/controller/finalizers_delete.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/controller/finalizers_delete.go b/internal/controller/finalizers_delete.go index 99a201311c..5b6aba7d2a 100644 --- a/internal/controller/finalizers_delete.go +++ b/internal/controller/finalizers_delete.go @@ -50,7 +50,7 @@ func (r *ClusterReconciler) deleteDatabaseFinalizers(ctx context.Context, namesp } // Database is in this cluster. - // Check if the finalizer is still there, otherwise patch the Database CRD + // Check if the finalizer is still there, if so, delete and patch the Database currentDatabase := database.DeepCopy() if controllerutil.RemoveFinalizer(currentDatabase, utils.DatabaseFinalizerName) { contextLogger.Debug("Removing finalizer from database",