From f344bcf9a7e77718877b825ca7a3a42e3cdccdd7 Mon Sep 17 00:00:00 2001 From: hub_Prateek Date: Fri, 22 Dec 2023 13:02:08 +0530 Subject: [PATCH] Fixed error log (#9232) * Fixed error log Signed-off-by: hub-Prateek * Removed the event Signed-off-by: hub-Prateek --------- Signed-off-by: hub-Prateek --- pkg/background/mutate/mutate.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/background/mutate/mutate.go b/pkg/background/mutate/mutate.go index 281b5d659b..37871d7a26 100644 --- a/pkg/background/mutate/mutate.go +++ b/pkg/background/mutate/mutate.go @@ -168,8 +168,7 @@ func (c *mutateExistingController) ProcessUR(ur *kyvernov1beta1.UpdateRequest) e case engineapi.RuleStatusSkip: err := fmt.Errorf("mutate existing rule skipped, rule %s, response %v: %s", r.Name(), r.Status(), r.Message()) - logger.Error(err, "") - c.report(err, policy, rule.Name, patched) + logger.Info(err.Error()) case engineapi.RuleStatusPass: patchedNew := patched