cleanup and small fixes

Signed-off-by: aiordache <anca.iordache@docker.com>
This commit is contained in:
aiordache 2020-04-08 15:39:10 +02:00
parent 17335ae06c
commit 881818223c
1 changed files with 4 additions and 2 deletions

View File

@ -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(),