From 4040e6de0c1044ec0c07f935329c854ae54ab28c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reinhard=20N=C3=A4gele?= Date: Tue, 12 Mar 2019 11:09:46 -0400 Subject: [PATCH] Use errors.Wrapf Co-Authored-By: jlegrone Signed-off-by: Jacob LeGrone --- pkg/chart/chart.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/chart/chart.go b/pkg/chart/chart.go index 5c497b01..2c3b7d16 100644 --- a/pkg/chart/chart.go +++ b/pkg/chart/chart.go @@ -257,7 +257,7 @@ func (t *Testing) processCharts(action func(chart string, valuesFiles []string) for _, chart := range charts { if err := t.helm.BuildDependencies(computePreviousRevisionPath(chart)); err != nil { // Only print error (don't exit) if building dependencies for previous revision fails. - fmt.Println(errors.Wrap(err, fmt.Sprintf("Error building dependencies for previous revision of chart '%s'", chart))) + fmt.Println(errors.Wrapf(err, "Error building dependencies for previous revision of chart '%s'\n", chart)) } } }