outposts: fix port and inner_port being mixed on docker controller

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-06-21 19:19:06 +02:00
parent 2aa7266688
commit a4856969f4
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class DockerController(BaseController):
"name": container_name,
"detach": True,
"ports": {
f"{port.port}/{port.protocol.lower()}": port.inner_port or port.port
f"{port.inner_port or port.port}/{port.protocol.lower()}": port.port
for port in self.deployment_ports
},
"environment": self._get_env(),