Skip to content

Commit 3ef7c97

Browse files
committed
Rename var to reduce confusion
1 parent af3bacc commit 3ef7c97

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

typedb/localstack_typedb/utils/docker.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ def on_platform_shutdown(self):
108108
def start_container(self) -> None:
109109
LOG.debug("Starting extension container %s", self.container_name)
110110

111-
ports = PortMappings()
111+
port_mapping = PortMappings()
112112
for port in self.container_ports:
113-
ports.add(port)
113+
port_mapping.add(port)
114114

115115
kwargs = {}
116116
if self.command:
@@ -122,7 +122,7 @@ def start_container(self) -> None:
122122
detach=True,
123123
remove=True,
124124
name=self.container_name,
125-
ports=ports,
125+
ports=port_mapping,
126126
**kwargs,
127127
)
128128
except Exception as e:

0 commit comments

Comments
 (0)