Update pkg/action/action.go

Signed-off-by: Zadkiel Aharonian <zadkiel.aharonian@gmail.com>
pull/11740/head
Zadkiel Aharonian 3 years ago committed by GitHub
parent f7ec5205f0
commit 4217d353fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -225,7 +225,7 @@ func (cfg *Configuration) renderResources(ch *chart.Chart, values chartutil.Valu
for _, h := range hs { for _, h := range hs {
hb := bytes.NewBuffer(nil) hb := bytes.NewBuffer(nil)
fmt.Fprintf(hb, "---\n# Source: %s\n%s\n", h.Path, h.Manifest) fmt.Fprintf(hb, "---\n# Source: %s\n%s\n", h.Path, h.Manifest)
bpr, err = pr.Run(hb) hb, err = pr.Run(hb)
if err != nil { if err != nil {
return hs, b, notes, errors.Wrap(err, "error while running post render on hook files") return hs, b, notes, errors.Wrap(err, "error while running post render on hook files")
} }

Loading…
Cancel
Save