We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af3bacc commit 3ef7c97Copy full SHA for 3ef7c97
1 file changed
typedb/localstack_typedb/utils/docker.py
@@ -108,9 +108,9 @@ def on_platform_shutdown(self):
108
def start_container(self) -> None:
109
LOG.debug("Starting extension container %s", self.container_name)
110
111
- ports = PortMappings()
+ port_mapping = PortMappings()
112
for port in self.container_ports:
113
- ports.add(port)
+ port_mapping.add(port)
114
115
kwargs = {}
116
if self.command:
@@ -122,7 +122,7 @@ def start_container(self) -> None:
122
detach=True,
123
remove=True,
124
name=self.container_name,
125
- ports=ports,
+ ports=port_mapping,
126
**kwargs,
127
)
128
except Exception as e:
0 commit comments