From b3d065f22fb22124f3c8731d80f9e4d891af2fe2 Mon Sep 17 00:00:00 2001 From: Javier Date: Tue, 12 Dec 2023 17:36:09 -0600 Subject: [PATCH] commands: update for logging Signed-off-by: Javier --- pkg/crds/crds.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkg/crds/crds.go b/pkg/crds/crds.go index d8d48832..ee47da1e 100644 --- a/pkg/crds/crds.go +++ b/pkg/crds/crds.go @@ -160,9 +160,10 @@ func deleteCustomResources(ctx context.Context, clientsets k8sutil.ClientsetsInt func updatingFinalizers(ctx context.Context, clientsets k8sutil.ClientsetsInterface, itemResource *unstructured.Unstructured, resource, clusterNamespace string) error { patch := defaultResourceRemoveFinalizers - if resource == "cephclusters" { - patch = clusterResourcePatchFinalizer - } + //if resource == "cephclusters" { + logging.Info("Applying PATCH to %s", resource) + patch = clusterResourcePatchFinalizer + //} jsonPatchData, _ := json.Marshal(patch)