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
Signed-off-by: paologallinaharbur <[email protected]>
  • Loading branch information
paologallinaharbur committed May 6, 2022
1 parent ab83f06 commit fcbc36a
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 fcbc36a

Please sign in to comment.