From e141ebe16eefc4f55f6d1d57c836a29e11b6e507 Mon Sep 17 00:00:00 2001 From: mikutas <23391543+mikutas@users.noreply.github.com> Date: Wed, 13 Mar 2024 18:56:40 +0900 Subject: [PATCH] fix: log messages Signed-off-by: mikutas <23391543+mikutas@users.noreply.github.com> --- applicationset/controllers/applicationset_controller.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applicationset/controllers/applicationset_controller.go b/applicationset/controllers/applicationset_controller.go index c38b8c05fe869c..6d40e6431ddda2 100644 --- a/applicationset/controllers/applicationset_controller.go +++ b/applicationset/controllers/applicationset_controller.go @@ -112,11 +112,11 @@ 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 does not allows to delete") + logCtx.Debugf("ApplicationSet policy does not allow to delete") if err := r.removeOwnerReferencesOnDeleteAppSet(ctx, applicationSetInfo); err != nil { return ctrl.Result{}, err } - logCtx.Debugf("ownerReferences is deleted from %s", appsetName) + logCtx.Debugf("ownerReferences referring %s is deleted from generated applications", appsetName) } controllerutil.RemoveFinalizer(&applicationSetInfo, argov1alpha1.ResourcesFinalizerName) if err := r.Update(ctx, &applicationSetInfo); err != nil {