From 881818223c399daf887317d2c408efc0f76153ab Mon Sep 17 00:00:00 2001 From: aiordache Date: Wed, 8 Apr 2020 15:39:10 +0200 Subject: [PATCH] cleanup and small fixes Signed-off-by: aiordache --- compose/internal/helm/chart.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/compose/internal/helm/chart.go b/compose/internal/helm/chart.go index f4e86d82e..26a139f4b 100644 --- a/compose/internal/helm/chart.go +++ b/compose/internal/helm/chart.go @@ -39,8 +39,10 @@ home: Name string } var chartData bytes.Buffer - _ = t.Execute(&chartData, ChartDetails{Name: name}) - + err = t.Execute(&chartData, ChartDetails{Name: name}) + if err != nil { + return nil, err + } files = append(files, &loader.BufferedFile{ Name: "Chart.yaml", Data: chartData.Bytes(),