From 3b1fd912cbd819cbf64e42fe4af0441a3c6a6022 Mon Sep 17 00:00:00 2001 From: treydock Date: Wed, 23 Jun 2021 19:48:09 -0400 Subject: [PATCH] Move log to debug for wildcard pattern matching (#2064) Signed-off-by: Trey Dockendorf --- pkg/engine/validate/pattern.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/engine/validate/pattern.go b/pkg/engine/validate/pattern.go index 1991b1f106..48efbfaadf 100644 --- a/pkg/engine/validate/pattern.go +++ b/pkg/engine/validate/pattern.go @@ -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