diff --git a/pkg/background/mutate/mutate.go b/pkg/background/mutate/mutate.go index 570f12f5c2..a7debc720b 100644 --- a/pkg/background/mutate/mutate.go +++ b/pkg/background/mutate/mutate.go @@ -158,7 +158,7 @@ func (c *MutateExistingController) report(err error, policy, rule string, target var events []event.Info if target == nil { - c.log.WithName("mutateExisting").Info("cannot generate events for empty target resource", "policy", policy, "rule", rule, "err", err.Error()) + c.log.WithName("mutateExisting").Info("cannot generate events for empty target resource", "policy", policy, "rule", rule) } if err != nil {