From 08d64927f88ca313635207e0730a2451d4f64635 Mon Sep 17 00:00:00 2001 From: mikutas <23391543+mikutas@users.noreply.github.com> Date: Mon, 11 Mar 2024 20:41:03 +0900 Subject: [PATCH] fix: wrong log message Signed-off-by: mikutas <23391543+mikutas@users.noreply.github.com> --- applicationset/controllers/applicationset_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applicationset/controllers/applicationset_controller.go b/applicationset/controllers/applicationset_controller.go index b9c385274d7750..c38b8c05fe869c 100644 --- a/applicationset/controllers/applicationset_controller.go +++ b/applicationset/controllers/applicationset_controller.go @@ -112,7 +112,7 @@ func (r *ApplicationSetReconciler) Reconcile(ctx context.Context, req ctrl.Reque logCtx.Debugf("DeletionTimestamp is set to %s", appsetName) deleteAllowed := utils.DefaultPolicy(applicationSetInfo.Spec.SyncPolicy, r.Policy, r.EnablePolicyOverride).AllowDelete() if !deleteAllowed { - logCtx.Debugf("ApplicationSet policy allows to delete") + logCtx.Debugf("ApplicationSet policy does not allows to delete") if err := r.removeOwnerReferencesOnDeleteAppSet(ctx, applicationSetInfo); err != nil { return ctrl.Result{}, err }