fix: check IS_HEROKUISH_CONTAINER value check

This commit is contained in:
Jose Diaz-Gonzalez
2017-04-22 21:09:27 -06:00
committed by Michael Hobbs
parent b409af602a
commit 0cc9e42c59
2 changed files with 9 additions and 6 deletions

View File

@@ -53,7 +53,7 @@ network-compute-container-ports() {
return
fi
if [[ -z "$IS_HEROKUISH_CONTAINER" ]]; then
if [[ "$IS_HEROKUISH_CONTAINER" == "false" ]]; then
DOKKU_DOCKERFILE_PORTS=($(config_get "$APP" DOKKU_DOCKERFILE_PORTS || true))
fi
@@ -121,7 +121,7 @@ network-get-container-port() {
return
fi
if [[ -z "$IS_HEROKUISH_CONTAINER" ]]; then
if [[ "$IS_HEROKUISH_CONTAINER" == "false" ]]; then
local DOKKU_DOCKERFILE_PORTS=($(config_get "$APP" DOKKU_DOCKERFILE_PORTS || true))
fi