From db950028285fbc84e73268e0bc59a430e0a2c8ca Mon Sep 17 00:00:00 2001 From: shravan Date: Fri, 24 Jan 2020 21:01:56 +0530 Subject: [PATCH] 522 missing circle ci change --- pkg/policy/validation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/policy/validation.go b/pkg/policy/validation.go index d197038ea5..3f55b8bc6b 100644 --- a/pkg/policy/validation.go +++ b/pkg/policy/validation.go @@ -112,7 +112,7 @@ func ValidateResource(patchedResource interface{}, kind string) error { } func setValidationGlobalState() error { - if validationGlobalState.isSet == false { + if !validationGlobalState.isSet { var err error validationGlobalState.document, err = getSchemaDocument() if err != nil {