소스 검색

fix: don't start app before uninstalling it

Nicolas Meienberger 2 년 전
부모
커밋
cea3605e06
1개의 변경된 파일0개의 추가작업 그리고 5개의 파일을 삭제
  1. 0 5
      scripts/app.sh

+ 0 - 5
scripts/app.sh

@@ -173,11 +173,6 @@ function uninstall_app() {
 
 
   write_log "Removing images for app ${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
   if ! compose "${app}" down --rmi all --remove-orphans; then
     # just stop it if we can't remove the images
     # just stop it if we can't remove the images
     if ! compose "${app}" rm --force --stop; then
     if ! compose "${app}" rm --force --stop; then