mirror of
https://github.com/runcitadel/core.git
synced 2024-11-11 16:30:38 +00:00
Fix env var
This commit is contained in:
parent
be2a01af85
commit
54e7306367
|
@ -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():
|
||||
|
|
Loading…
Reference in New Issue
Block a user