fix: don't start app before uninstalling it
This commit is contained in:
parent
dbddf8ad1c
commit
cea3605e06
1 changed files with 0 additions and 5 deletions
|
@ -173,11 +173,6 @@ function uninstall_app() {
|
|||
|
||||
write_log "Removing images for app ${app}..."
|
||||
|
||||
if ! compose "${app}" up --detach; then
|
||||
write_log "Failed to uninstall app ${app}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! compose "${app}" down --rmi all --remove-orphans; then
|
||||
# just stop it if we can't remove the images
|
||||
if ! compose "${app}" rm --force --stop; then
|
||||
|
|
Loading…
Add table
Reference in a new issue