chore: remove deprecated proxy functions
This commit is contained in:
@@ -25,3 +25,6 @@
|
||||
- The following deprecated nginx commands have been removed:
|
||||
- `nginx:show-conf` (deprecated since since 0.20.0) has been removed in favor of `nginx:show-config`
|
||||
- `nginx:validate` (deprecated since since 0.20.0) has been removed in favor of `nginx:validate-config`
|
||||
- The following proxy functions - deprecated since 0.20.0 - have been removed in favor of their plugin trigger equivalents. Sourcing the `proxy/functions` file will fail going forward.
|
||||
- `proxy#is_app_proxy_enabled()` is removed in favor of `plugn trigger proxy-is-enabled`.
|
||||
- `proxy#get_app_proxy_type()` is removed in favor of `plugn trigger proxy-type`.
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eo pipefail
|
||||
[[ $DOKKU_TRACE ]] && set -x
|
||||
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
||||
source "$PLUGIN_AVAILABLE_PATH/config/functions"
|
||||
|
||||
is_app_proxy_enabled() {
|
||||
declare desc="return true if proxy is enabled; otherwise return false"
|
||||
declare APP="$1"
|
||||
declare deprecated=true
|
||||
dokku_log_warn "Deprecated: Use plugn#proxy-is-enabled"
|
||||
|
||||
plugn trigger proxy-is-enabled "$APP"
|
||||
}
|
||||
|
||||
get_app_proxy_type() {
|
||||
declare desc="return app proxy type"
|
||||
declare APP="$1"
|
||||
declare deprecated=true
|
||||
dokku_log_warn "Deprecated: Use plugn#proxy-type"
|
||||
|
||||
plugn trigger proxy-type "$APP"
|
||||
}
|
||||
Reference in New Issue
Block a user