From 8c88f671da0eb2298f85c907ae33e2018d8d5ead Mon Sep 17 00:00:00 2001 From: PaoloGallina <43335750+paologallinaharbur@users.noreply.github.com> Date: Wed, 1 Jun 2022 09:34:30 +0200 Subject: [PATCH] feat(upgrade): it should upgrade to new version instead of the old one (#434) 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 9abe239..b222f39 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 }