From 1ba5269779afd9b596c73ee10500b4c7850ad606 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 19 Feb 2020 01:02:12 -0500 Subject: [PATCH] fix: use correct command name --- plugins/nginx-vhosts/command-functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/nginx-vhosts/command-functions b/plugins/nginx-vhosts/command-functions index 59ffc420c..bd68eca62 100755 --- a/plugins/nginx-vhosts/command-functions +++ b/plugins/nginx-vhosts/command-functions @@ -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