mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-05 15:37:19 +00:00
update log levels (#4286)
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
This commit is contained in:
parent
ba32121acb
commit
6fa8a97583
1 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ func evaluateAnyAllConditions(log logr.Logger, ctx context.EvalInterface, condit
|
||||||
}
|
}
|
||||||
|
|
||||||
if !anyConditionsResult {
|
if !anyConditionsResult {
|
||||||
log.Info("no condition passed for 'any' block", "any", anyConditions)
|
log.V(3).Info("no condition passed for 'any' block", "any", anyConditions)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ func evaluateAnyAllConditions(log logr.Logger, ctx context.EvalInterface, condit
|
||||||
for _, condition := range allConditions {
|
for _, condition := range allConditions {
|
||||||
if !Evaluate(log, ctx, condition) {
|
if !Evaluate(log, ctx, condition) {
|
||||||
allConditionsResult = false
|
allConditionsResult = false
|
||||||
log.Info("a condition failed in 'all' block", "condition", condition)
|
log.V(3).Info("a condition failed in 'all' block", "condition", condition)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue