diff --git a/pkg/chartutil/files.go b/pkg/chartutil/files.go index 6ce619e89..4ba5c6f23 100644 --- a/pkg/chartutil/files.go +++ b/pkg/chartutil/files.go @@ -202,7 +202,8 @@ func ToToml(v interface{}) string { e := toml.NewEncoder(b) err := e.Encode(v) if err != nil { - return err.Error() + // Swallow errors inside of a template + return "" } return b.String() }