-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When running
snow app run
against an application whose package was …
…dropped, offer to automatically tear it down (#1245) When an app package has been dropped but the app still exists, the app can't be interacted with. In this case, running snow app run fails to upgrade the app to the latest staged files. Since the app is effectively unusable at this point, the only option is to drop it. If the app owns any external resources (e.g. compute pools), the drop must use cascade. Unfortunately, since the app is unusable, show objects owned by application throws an error, so we have to handle that case and ask the user if they still want to drop the app without knowing what the objects are. If they say yes, we retry the drop with cascade.
- Loading branch information
1 parent
2444bd5
commit 82d08ac
Showing
7 changed files
with
473 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.