Fix env var

This commit is contained in:
Aaron Dewes 2022-09-27 16:22:25 +02:00 committed by GitHub
parent be2a01af85
commit 54e7306367
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -192,7 +192,7 @@ def getPortsV4App(app, appId):
validatePort(appContainerName, appContainer, appContainer["port"], appId, 0)
else:
# if the container does not define a port, assume 3000, and pass it to the container as env var
validatePort(appContainer["name"], appContainer, 3000, appId, 0, True)
validatePort(appContainerName, appContainer, 3000, appId, 0, True)
if "required_ports" in appContainer:
if "tcp" in appContainer["required_ports"] and appContainer["required_ports"]["tcp"] != None:
for port in appContainer["required_ports"]["tcp"].keys():