From a59d2125123d9d829e99823e1f969309841fefd8 Mon Sep 17 00:00:00 2001
From: Thibaut Rousseau <thibaut.rousseau@protonmail.com>
Date: Mon, 12 Feb 2018 00:33:28 +0100
Subject: [PATCH] docs: Fix FromJson comment

---
 pkg/chartutil/files.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkg/chartutil/files.go b/pkg/chartutil/files.go
index 687a9a8d6..a711a3366 100644
--- a/pkg/chartutil/files.go
+++ b/pkg/chartutil/files.go
@@ -220,10 +220,10 @@ func ToJson(v interface{}) string {
 	return string(data)
 }
 
-// FromJson converts a YAML document into a map[string]interface{}.
+// FromJson converts a JSON document into a map[string]interface{}.
 //
 // This is not a general-purpose JSON parser, and will not parse all valid
-// YAML documents. Additionally, because its intended use is within templates
+// JSON documents. Additionally, because its intended use is within templates
 // it tolerates errors. It will insert the returned error message string into
 // m["Error"] in the returned map.
 func FromJson(str string) map[string]interface{} {
-- 
GitLab