@@ -153,7 +153,7 @@ def for_host() -> "Directories":
153
153
@staticmethod
154
154
def for_cli () -> "Directories" :
155
155
"""Returns directories used for when running localstack CLI commands from the host system. Unlike
156
- ``for_container``, these are meant to be cross-platform. Ideally, this should not be needed at all,
156
+ ``for_container``, these needs to be cross-platform. Ideally, this should not be needed at all,
157
157
because the localstack runtime and CLI do not share any control paths. There are a handful of
158
158
situations where directories or files may be created lazily for CLI commands. Some paths are
159
159
intentionally set to None to provoke errors if these paths are used from the CLI - which they
@@ -338,7 +338,7 @@ def in_docker():
338
338
if os_hostname and os_hostname in content :
339
339
return True
340
340
341
- # container does not set any specific file or config, but it does use
341
+ # containerd does not set any specific file or config, but it does use
342
342
# io.containerd.snapshotter.v1.overlayfs as the overlay filesystem for `/`.
343
343
try :
344
344
with open ("/proc/mounts" , "rt" ) as infile :
@@ -375,7 +375,7 @@ def in_docker():
375
375
return False
376
376
377
377
378
- # whether in_docker check should always return True or False
378
+ # whether the ` in_docker` check should always return True or False
379
379
OVERRIDE_IN_DOCKER = parse_boolean_env ("OVERRIDE_IN_DOCKER" )
380
380
381
381
is_in_docker = in_docker ()
@@ -1454,7 +1454,7 @@ def service_port(service_key: str, external: bool = False) -> int:
1454
1454
def get_edge_port_http ():
1455
1455
"""@deprecated: Use `localstack_host().port` for external and `GATEWAY_LISTEN[0].port` for
1456
1456
internal use. This function is not needed anymore because we don't separate between HTTP
1457
- and HTTP ports anymore since LocalStack comprehends to both."""
1457
+ and HTTP ports anymore since LocalStack listens to both ports ."""
1458
1458
warnings .warn (
1459
1459
"""@deprecated: Use `localstack_host().port` for external and `GATEWAY_LISTEN[0].port`
1460
1460
for internal use. This function is also not needed anymore because we don't separate
0 commit comments