Merge pull request #5579 from flant/add-cleanup-on-fail-to-atomic

Add --cleanup-on-fail support into --atomic: use CleanupOnFail param in rollback (optionally)
pull/5594/head
Taylor Thomas 7 years ago committed by GitHub
commit 0664ef5c44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -294,6 +294,7 @@ func (u *upgradeCmd) run() error {
description: "", description: "",
revision: releaseHistory.Releases[0].Version, revision: releaseHistory.Releases[0].Version,
disableHooks: u.disableHooks, disableHooks: u.disableHooks,
cleanupOnFail: u.cleanupOnFail,
} }
if err := rollback.run(); err != nil { if err := rollback.run(); err != nil {
return err return err

Loading…
Cancel
Save