1
0
mirror of https://github.com/helm/chart-testing.git synced 2026-02-05 18:45:18 +01:00

feat(upgrade): it should upgrade to new version instead of the old one (#434)

Signed-off-by: paologallinaharbur <paologallina1992@gmail.com>
This commit is contained in:
PaoloGallina
2022-06-01 09:34:30 +02:00
committed by GitHub
parent 49167c48fd
commit 8c88f671da

View File

@@ -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
}