From b10a6078794df6d1ff87a2e3bf782ef104666345 Mon Sep 17 00:00:00 2001 From: paologallinaharbur Date: Fri, 6 May 2022 16:08:50 +0200 Subject: [PATCH] feat(upgrade): it should upgrade to new version instead of the old one Signed-off-by: Paolo Gallina --- 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 }