1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-30 19:35:06 +00:00

Move log to debug for wildcard pattern matching (#2064)

Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
This commit is contained in:
treydock 2021-06-23 19:48:09 -04:00 committed by GitHub
parent 9e769d1fd0
commit 3b1fd912cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -257,7 +257,7 @@ func validateNumberWithStr(log logr.Logger, value interface{}, pattern string, o
// 2. wildcard match
if !wildcard.Match(pattern, typedValue) {
log.Info("value failed wildcard check", "type", fmt.Sprintf("%T", typedValue), "value", typedValue, "check", pattern)
log.V(4).Info("value failed wildcard check", "type", fmt.Sprintf("%T", typedValue), "value", typedValue, "check", pattern)
return false
}
return true