From fcbc36a3c8e83da0cc5f129f2b1c2608e67f3cad Mon Sep 17 00:00:00 2001 From: paologallinaharbur Date: Fri, 6 May 2022 16:11:27 +0200 Subject: [PATCH] feat(upgrade): it should upgrade to new version instead of the old one Signed-off-by: paologallinaharbur --- 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 9abe2396..b222f39d 100644 --- a/pkg/chart/chart.go +++ b/pkg/chart/chart.go @@ -628,7 +628,7 @@ func (t *Testing) doUpgrade(oldChart, newChart *Chart, oldChartMustPass bool) er return nil } - if err := t.helm.Upgrade(oldChart.Path(), namespace, release); err != nil { + if err := t.helm.Upgrade(newChart.Path(), namespace, release); err != nil { return err }