From 86ac2803091e53accf0014a427a2644fa3508564 Mon Sep 17 00:00:00 2001 From: Bartosz Majsak Date: Thu, 11 Jul 2024 15:50:49 +0200 Subject: [PATCH] chore: fixes typos (#1111) Just a little nits found during working on something else. (cherry picked from commit eee87c016f1f23f82f02ee00113f5bd0345a03fe) --- .../datasciencecluster/datasciencecluster_controller.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/datasciencecluster/datasciencecluster_controller.go b/controllers/datasciencecluster/datasciencecluster_controller.go index cf2647fce82..75071058f3a 100644 --- a/controllers/datasciencecluster/datasciencecluster_controller.go +++ b/controllers/datasciencecluster/datasciencecluster_controller.go @@ -121,12 +121,12 @@ func (r *DataScienceClusterReconciler) Reconcile(ctx context.Context, req ctrl.R // If DSC CR exist and deletion CM exist // delete DSC CR and let reconcile requeue - // sometimes with finalzier DSC CR wont get deleted, force to remove finalizer here + // sometimes with finalizer DSC CR won't get deleted, force to remove finalizer here if upgrade.HasDeleteConfigMap(ctx, r.Client) { if controllerutil.ContainsFinalizer(instance, finalizerName) { if controllerutil.RemoveFinalizer(instance, finalizerName) { if err := r.Update(ctx, instance); err != nil { - r.Log.Info("Error to remove DSC finalzier", "error", err) + r.Log.Info("Error to remove DSC finalizer", "error", err) return ctrl.Result{}, err } r.Log.Info("Removed finalizer for DataScienceCluster", "name", instance.Name, "finalizer", finalizerName)