chore: add deprecated tag
This commit is contained in:
1 parent
0b758d2ba0
commit
8186934f72
1 file changed
+2
@@ -74,6 +74,7 @@ cmd-nginx-report-single() {
|
|||||||
cmd-nginx-show-config() {
|
cmd-nginx-show-config() {
|
||||||
declare desc="display app nginx config"
|
declare desc="display app nginx config"
|
||||||
declare cmd="nginx:show-config"
|
declare cmd="nginx:show-config"
|
||||||
|
declare deprecated=true
|
||||||
[[ "$1" == "$cmd" ]] && shift 1
|
[[ "$1" == "$cmd" ]] && shift 1
|
||||||
if [[ "$1" == "nginx:show-conf" ]]; then
|
if [[ "$1" == "nginx:show-conf" ]]; then
|
||||||
dokku_log_warn "Deprecated: Please use nginx:show-config"
|
dokku_log_warn "Deprecated: Please use nginx:show-config"
|
||||||
@@ -93,6 +94,7 @@ cmd-nginx-show-config() {
|
|||||||
cmd-nginx-validate-config() {
|
cmd-nginx-validate-config() {
|
||||||
declare desc="validates and optionally cleans up invalid nginx configurations"
|
declare desc="validates and optionally cleans up invalid nginx configurations"
|
||||||
declare cmd="nginx:validate-config"
|
declare cmd="nginx:validate-config"
|
||||||
|
declare deprecated=true
|
||||||
[[ "$1" == "$cmd" ]] && shift 1
|
[[ "$1" == "$cmd" ]] && shift 1
|
||||||
if [[ "$1" == "nginx:validate" ]]; then
|
if [[ "$1" == "nginx:validate" ]]; then
|
||||||
dokku_log_warn "Deprecated: Please use nginx:validate-config"
|
dokku_log_warn "Deprecated: Please use nginx:validate-config"
|
||||||
|
|||||||
Reference in new issue
Block a user