Merge pull request #5507 from Evesy/master

Don't print ROLLING BACK if atomic is not set
pull/5565/head
Taylor Thomas 7 years ago committed by GitHub
commit 2663559573
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -276,8 +276,9 @@ func (u *upgradeCmd) run() error {
helm.UpgradeWait(u.wait),
helm.UpgradeDescription(u.description))
if err != nil {
fmt.Fprintf(u.out, "UPGRADE FAILED\nROLLING BACK\nError: %v\n", prettyError(err))
fmt.Fprintf(u.out, "UPGRADE FAILED\nError: %v\n", prettyError(err))
if u.atomic {
fmt.Fprint(u.out, "ROLLING BACK")
rollback := &rollbackCmd{
out: u.out,
client: u.client,

Loading…
Cancel
Save