fix: call the correct method in the proxy-build-config hook

This commit is contained in:
Jose Diaz-Gonzalez authored and Michael Hobbs committed 2017-10-02 15:05:13 -07:00
1 parent 4949d1e33e
commit b8a4152e10
1 file changed
+2 -2
+2 -2
View File
@@ -4,7 +4,7 @@ source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
source "$PLUGIN_AVAILABLE_PATH/nginx-vhosts/functions" source "$PLUGIN_AVAILABLE_PATH/nginx-vhosts/functions"
source "$PLUGIN_AVAILABLE_PATH/proxy/functions" source "$PLUGIN_AVAILABLE_PATH/proxy/functions"
nginx_build_config() { nginx_proxy_build_config() {
declare desc="build nginx config to proxy app containers from command line" declare desc="build nginx config to proxy app containers from command line"
declare APP="$1" declare APP="$1"
[[ -z "$APP" ]] && dokku_log_fail "Please specify an app to run the command on" [[ -z "$APP" ]] && dokku_log_fail "Please specify an app to run the command on"
@@ -15,4 +15,4 @@ nginx_build_config() {
fi fi
} }
nginx_build_config_cmd "$@" nginx_proxy_build_config "$@"