fix: Ensure we can call ps:report without specifying an application
Closes #2721
This commit is contained in:
1 parent
fb68a6f4b6
commit
dea1c86a9b
1 file changed
+5
@@ -7,6 +7,11 @@ source "$PLUGIN_AVAILABLE_PATH/ps/functions"
|
|||||||
report_single_app() {
|
report_single_app() {
|
||||||
declare APP="$1" INFO_FLAG="$2"
|
declare APP="$1" INFO_FLAG="$2"
|
||||||
local APP_DIR="$DOKKU_ROOT/$APP"
|
local APP_DIR="$DOKKU_ROOT/$APP"
|
||||||
|
local use_echo
|
||||||
|
if [[ "$INFO_FLAG" == "true" ]]; then
|
||||||
|
INFO_FLAG=""
|
||||||
|
fi
|
||||||
|
|
||||||
local passed_phases="deploy"
|
local passed_phases="deploy"
|
||||||
local APP_CIDS=$(get_app_container_ids "$APP"); local PROCS=0; local RUNNING=""
|
local APP_CIDS=$(get_app_container_ids "$APP"); local PROCS=0; local RUNNING=""
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user