From e64a1735d361cbaa50e4e540da4977441798e34a Mon Sep 17 00:00:00 2001 From: Benoit Tigeot Date: Mon, 18 May 2026 11:05:51 +0200 Subject: [PATCH] chore: Linting sprintf Error: pkg/chart/common/util/jsonschema.go:194:15: string-format: fmt.Sprintf can be replaced with string concatenation (perfsprint) Signed-off-by: Benoit Tigeot --- pkg/chart/common/util/jsonschema.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/chart/common/util/jsonschema.go b/pkg/chart/common/util/jsonschema.go index d7588a67f..4eed45f56 100644 --- a/pkg/chart/common/util/jsonschema.go +++ b/pkg/chart/common/util/jsonschema.go @@ -191,7 +191,7 @@ func ValidateAgainstSingleSchemaWithPath(values common.Values, schemaJSON []byte compiler := jsonschema.NewCompiler() compiler.UseLoader(loader) - schemaURL := fmt.Sprintf("file://%s", schemaPath) + schemaURL := "file://" + schemaPath err = compiler.AddResource(schemaURL, schema) if err != nil { return err