fix: use correct conditional check for isHerokuishContainer

This commit is contained in:
Jose Diaz-Gonzalez authored and Michael Hobbs committed 2017-10-02 15:05:13 -07:00
1 parent 6e76831b5d
commit 6f008d6643
1 file changed
+1 -1
+1 -1
View File
@@ -45,7 +45,7 @@ func GetContainerPort(appName string, procType string, isHerokuishContainer bool
dockerfilePorts := make([]string, 0) dockerfilePorts := make([]string, 0)
port := "" port := ""
if isHerokuishContainer { if !isHerokuishContainer {
configValue := config.GetWithDefault(appName, "DOKKU_DOCKERFILE_PORTS", "") configValue := config.GetWithDefault(appName, "DOKKU_DOCKERFILE_PORTS", "")
if configValue != "" { if configValue != "" {
dockerfilePorts = strings.Split(configValue, " ") dockerfilePorts = strings.Split(configValue, " ")