Skip to content

Commit

Permalink
fix: gateway port mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobowitz committed Mar 27, 2022
1 parent 5744b9f commit 82b4b81
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions daemon/api/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ def load_and_dump(self) -> None:
)
for deployment_name, deployment in f._deployment_nodes.items():
runtime_cls = update_runtime_cls(deployment.args, copy=True).runtime_cls
if runtime_cls in ['WorkerRuntime'] + list(
GATEWAY_RUNTIME_DICT.values()
) and not deployment.args.uses.startswith('docker://'):
if runtime_cls in [
'WorkerRuntime'
] and not deployment.args.uses.startswith('docker://'):
current_ports = Ports()
for port_name in Ports.__fields__:
setattr(
Expand Down

0 comments on commit 82b4b81

Please sign in to comment.