mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
Updated the message to the level4log and removed err that originated from ApplyBackgroundChecks. (#7528)
* updated the message to the level4log and removed err that originated from ApplyBackgroundChecks Signed-off-by: Cheithanya <cheithanya2002@gmail.com> * Update pkg/policy/policy_controller.go Signed-off-by: shuting <shutting06@gmail.com> --------- Signed-off-by: Cheithanya <cheithanya2002@gmail.com> Signed-off-by: shuting <shutting06@gmail.com> Co-authored-by: shuting <shutting06@gmail.com>
This commit is contained in:
parent
1c7d62f9a1
commit
692d419aa4
1 changed files with 1 additions and 1 deletions
|
@ -419,7 +419,7 @@ func (pc *policyController) handleUpdateRequest(ur *kyvernov1beta1.UpdateRequest
|
|||
|
||||
for _, ruleResponse := range engineResponse.PolicyResponse.Rules {
|
||||
if ruleResponse.Status() != engineapi.RuleStatusPass {
|
||||
pc.log.Error(err, "can not create new UR on policy update", "policy", policy.GetName(), "rule", rule.Name, "rule.Status", ruleResponse.Status())
|
||||
pc.log.V(4).Info("skip creating URs on policy update", "policy", policy.GetName(), "rule", rule.Name, "rule.Status", ruleResponse.Status())
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue