From d04b0f7cca2561666e1e9b300452f3925c551d66 Mon Sep 17 00:00:00 2001 From: Mriyam Tamuli Date: Mon, 28 Nov 2016 08:46:30 +0530 Subject: [PATCH] Use dokku helpers to output to stderr --- plugins/apps/subcommands/report | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/apps/subcommands/report b/plugins/apps/subcommands/report index febcb5e18..9a3963f68 100755 --- a/plugins/apps/subcommands/report +++ b/plugins/apps/subcommands/report @@ -31,7 +31,7 @@ report_single_app() { dokku_log_verbose "$(printf "%-20s %-25s" "${key^}" "${flag#*: }")" done else - echo "not deployed" + dokku_log_fail "not deployed" fi else local match=false; local value_exists=false @@ -48,7 +48,7 @@ report_single_app() { fi done if [[ "$match" == "true" ]]; then - [[ "$value_exists" == "true" ]] || dokku_log_fail "not_deployed" + [[ "$value_exists" == "true" ]] || dokku_log_fail "not deployed" else dokku_log_fail "Invalid flag passed, valid flags:${valid_flags}" fi