From dea1c86a9b34cbcb73df6ca21ba9b189078cc274 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Fri, 21 Apr 2017 00:57:40 -0600 Subject: [PATCH] fix: Ensure we can call ps:report without specifying an application Closes #2721 --- plugins/ps/subcommands/report | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/ps/subcommands/report b/plugins/ps/subcommands/report index 77f952e6e..4036ac879 100755 --- a/plugins/ps/subcommands/report +++ b/plugins/ps/subcommands/report @@ -7,6 +7,11 @@ source "$PLUGIN_AVAILABLE_PATH/ps/functions" report_single_app() { declare APP="$1" INFO_FLAG="$2" local APP_DIR="$DOKKU_ROOT/$APP" + local use_echo + if [[ "$INFO_FLAG" == "true" ]]; then + INFO_FLAG="" + fi + local passed_phases="deploy" local APP_CIDS=$(get_app_container_ids "$APP"); local PROCS=0; local RUNNING=""