fix: ensure tests pass

This commit is contained in:
Jose Diaz-Gonzalez
2017-07-22 15:17:40 -06:00
parent 0efb690992
commit 7df06fb2f6
2 changed files with 2 additions and 4 deletions

View File

@@ -1001,7 +1001,7 @@ get_app_urls() {
local port_map app_vhost
local app_vhosts=$(get_app_domains "$APP")
for port_map in $DOKKU_PROXY_PORT_MAP; do
local scheme="$(awk -F ':' '{ print $1 }' <<< "$port_map")"
local scheme="$(awk -F ':' '{ print $1 }' <<< "$port_map")"
local listen_port="$(awk -F ':' '{ print $2 }' <<< "$port_map")"
for app_vhost in $app_vhosts; do
if [[ "$listen_port" != "80" ]] && [[ "$listen_port" != "443" ]]; then