From 6f008d6643bc340dc3f5864c8dabc5eb1ea9d771 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Tue, 2 May 2017 00:32:39 -0600 Subject: [PATCH] fix: use correct conditional check for isHerokuishContainer --- plugins/network/network.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/network/network.go b/plugins/network/network.go index 832a8d25e..e195ecf97 100644 --- a/plugins/network/network.go +++ b/plugins/network/network.go @@ -45,7 +45,7 @@ func GetContainerPort(appName string, procType string, isHerokuishContainer bool dockerfilePorts := make([]string, 0) port := "" - if isHerokuishContainer { + if !isHerokuishContainer { configValue := config.GetWithDefault(appName, "DOKKU_DOCKERFILE_PORTS", "") if configValue != "" { dockerfilePorts = strings.Split(configValue, " ")