From cafdb09f6f3060d5eb805a9feea05a72a976fe15 Mon Sep 17 00:00:00 2001 From: Yann Hamon Date: Sun, 15 Nov 2020 20:25:16 +0100 Subject: [PATCH] comment --- pkg/registry/registry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/registry/registry.go b/pkg/registry/registry.go index 6bc7152..838668a 100644 --- a/pkg/registry/registry.go +++ b/pkg/registry/registry.go @@ -73,7 +73,7 @@ func New(schemaLocation string, strict bool, skipTLS bool) (Registry, error) { schemaLocation += "/{{ .NormalizedKubernetesVersion }}-standalone{{ .StrictSuffix }}/{{ .ResourceKind }}{{ .KindSuffix }}.json" } - // We try a fake compilation of the schemaLocation template to ensure it is valid + // try to compile the schemaLocation template to ensure it is valid if _, err := schemaPath(schemaLocation, "Deployment", "v1", "1.18.0", true); err != nil { return nil, fmt.Errorf("failed initialising schema location registry: %s", err) }