Merge pull request #2735 from dokku/2721-global-ps-report

Ensure we can call ps:report without specifying an application
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2017-04-21 15:15:06 -06:00
commit 7d825f8be0
1 file changed
+2
+2
View File
@@ -7,6 +7,8 @@ source "$PLUGIN_AVAILABLE_PATH/ps/functions"
report_single_app() {
declare APP="$1" INFO_FLAG="$2"
local APP_DIR="$DOKKU_ROOT/$APP"
[[ "$INFO_FLAG" == "true" ]] && INFO_FLAG=""
local passed_phases="deploy"
local APP_CIDS=$(get_app_container_ids "$APP"); local PROCS=0; local RUNNING=""