From d42dbd353897cdfb3c400e45142ef2e791a7b840 Mon Sep 17 00:00:00 2001 From: vaikas-google Date: Tue, 2 Aug 2016 14:15:35 -0700 Subject: [PATCH] address code review comments. use text/template instead of html/template --- cmd/helm/install.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/helm/install.go b/cmd/helm/install.go index e71a3ed41..bec47781d 100644 --- a/cmd/helm/install.go +++ b/cmd/helm/install.go @@ -25,7 +25,7 @@ import ( "path/filepath" "strings" - "html/template" + "text/template" "github.com/Masterminds/sprig" "github.com/ghodss/yaml" @@ -267,7 +267,7 @@ func locateChartPath(name string) (string, error) { } func generateName(nameTemplate string) (string, error) { - t, err := template.New("name-template").Funcs(sprig.FuncMap()).Parse(nameTemplate) + t, err := template.New("name-template").Funcs(sprig.TxtFuncMap()).Parse(nameTemplate) if err != nil { return "", err }