make proxy port listing a callable function
This commit is contained in:
1 parent
2b19881f01
commit
21d0859253
3 files changed
+22
-13
No files matched your search
@@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
||||
source "$PLUGIN_CORE_AVAILABLE_PATH/proxy/functions"
|
||||
source "$PLUGIN_AVAILABLE_PATH/config/functions"
|
||||
|
||||
proxy_ports_remove_cmd() {
|
||||
@@ -26,7 +27,7 @@ proxy_ports_remove_cmd() {
|
||||
plugn trigger post-proxy-ports-update "$APP" "remove"
|
||||
else
|
||||
dokku_log_warn "No port mapping specified. Please supply a valid configured host port"
|
||||
dokku proxy:ports "$APP"
|
||||
list_app_proxy_ports "$APP"
|
||||
dokku_log_fail "exiting..."
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user