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 <benoit.tigeot@lifen.fr>
pull/31274/head
Benoit Tigeot 4 weeks ago
parent 4ae26af132
commit e64a1735d3
No known key found for this signature in database
GPG Key ID: 8E6D4FC8AEBDA62C

@ -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

Loading…
Cancel
Save