diff --git a/pkg/util/yaml/decoder.go b/pkg/util/yaml/decoder.go index 9badc1ea31d..ebe597a598c 100644 --- a/pkg/util/yaml/decoder.go +++ b/pkg/util/yaml/decoder.go @@ -29,8 +29,8 @@ import ( // ToJSON converts a single YAML document into a JSON document // or returns an error. If the document appears to be JSON the -// YAML decoding path is not used (so that error messages are) -// JSON specific. +// YAML decoding path is not used (so that error messages are +// JSON specific). func ToJSON(data []byte) ([]byte, error) { if hasJSONPrefix(data) { return data, nil