mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user