refactor: deprecate the checks command in favor of checks:report

This commit is contained in:
Jose Diaz-Gonzalez
2017-02-20 18:06:32 -07:00
parent cbcb720228
commit 3b3eefcb73
2 changed files with 2 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ case "$1" in
help_content_func () {
declare desc="return checks plugin help content"
cat<<help_content
checks <app>, Show zero-downtime status
checks <app>, [DEPRECATED] Alternative for checks:report
checks:disable <app> [process-type(s)], Disable zero-downtime deployment for all processes (or comma-separated process-type list) ***WARNING: this will cause downtime during deployments***
checks:enable <app> [process-type(s)], Enable zero-downtime deployment for all processes (or comma-separated process-type list)
checks:report [<app>] [<flag>], Displays a checks report for one or more apps

View File

@@ -12,6 +12,7 @@ checks_main_cmd() {
local APPS="$1"
fi
dokku_log_warn "Deprecated: Please use checks:report"
dokku_col_log_info1_quiet "App Name" "Proctypes Disabled" "Proctypes Skipped"
local app
for app in $APPS; do