fix: use correct command name

This commit is contained in:
Jose Diaz-Gonzalez
2020-02-19 01:02:12 -05:00
parent 94357b961e
commit 1ba5269779

View File

@@ -92,9 +92,9 @@ cmd-nginx-show-config() {
cmd-nginx-validate-config() {
declare desc="validates and optionally cleans up invalid nginx configurations"
declare cmd="nginx:validate"
declare cmd="nginx:validate-config"
[[ "$1" == "$cmd" ]] && shift 1
if [[ "$1" == "nginx:validate-conf" ]]; then
if [[ "$1" == "nginx:validate" ]]; then
dokku_log_warn "Deprecated: Please use nginx:validate-config"
shift 1
fi