Skip to content

Commit

Permalink
commands: update for logging
Browse files Browse the repository at this point in the history
Signed-off-by: Javier <[email protected]>
  • Loading branch information
Javier committed Dec 12, 2023
1 parent 64827d0 commit b3d065f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkg/crds/crds.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit b3d065f

Please sign in to comment.