Add --cleanup-on-fail support into --atomic: use CleanupOnFail param in rollback

Signed-off-by: Timofey Kirillov <timofey.kirillov@flant.com>
pull/5579/head
Timofey Kirillov 7 years ago
parent 5027c29b56
commit f506db4b75

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

Loading…
Cancel
Save