refactor: deprecate is_app_running in favor of ps#fn-ps-is-app-running

This will allow us to _actually_ introspect on the running state of an application. In certain cases, the detected state can be "mixed", meaning that we may need to take action, depending on what we want to do in mixed mode.
This commit is contained in:
Jose Diaz-Gonzalez
2018-04-28 01:19:23 -04:00
parent e47f6e5803
commit 8d07ffe775
3 changed files with 36 additions and 19 deletions

View File

@@ -433,6 +433,7 @@ is_container_status() {
is_app_running() {
declare desc="return 0 if given app has a running container"
dokku_log_warn "Deprecated: ps#fn-is-app-running"
local APP="$1"
verify_app_name "$APP"