From 4fcc876786ec4761b724516b5100dbdb8668c077 Mon Sep 17 00:00:00 2001 From: Adam Reese Date: Tue, 3 Sep 2019 15:31:58 -0700 Subject: [PATCH] ref(pkg/engine): cleanup of development `hack` This was left in from some of the chart builder work. I forgot to remove it. Signed-off-by: Adam Reese --- pkg/engine/engine.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pkg/engine/engine.go b/pkg/engine/engine.go index 353d4c76b..6ff2df799 100644 --- a/pkg/engine/engine.go +++ b/pkg/engine/engine.go @@ -223,11 +223,7 @@ func (e Engine) renderWithReferences(tpls, referenceTpls map[string]renderable) // Work around the issue where Go will emit "" even if Options(missing=zero) // is set. Since missing=error will never get here, we do not need to handle // the Strict case. - f := &chart.File{ - Name: strings.ReplaceAll(filename, "/templates", "/manifests"), - Data: []byte(strings.ReplaceAll(buf.String(), "", "")), - } - rendered[filename] = string(f.Data) + rendered[filename] = strings.ReplaceAll(buf.String(), "", "") } return rendered, nil