Skip to content

Commit

Permalink
chore: nit
Browse files Browse the repository at this point in the history
Signed-off-by: Jaime Silvela <jaime.silvela@enterprisedb.com>
  • Loading branch information
jsilvela committed Sep 25, 2024
1 parent 95ac446 commit 1f6408e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/finalizers_delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 1f6408e

Please # to comment.