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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user