Skip to content

Commit

Permalink
feat(upgrade): it should upgrade to new version instead of the old one (
Browse files Browse the repository at this point in the history
#434)

Signed-off-by: paologallinaharbur <[email protected]>
  • Loading branch information
paologallinaharbur authored Jun 1, 2022
1 parent 49167c4 commit 8c88f67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/chart/chart.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 8c88f67

Please sign in to comment.