fix: use correct conditional check for isHerokuishContainer
This commit is contained in:
committed by
Michael Hobbs
parent
6e76831b5d
commit
6f008d6643
@@ -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, " ")
|
||||||
|
|||||||
Reference in New Issue
Block a user