Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

Commit 7550070

Browse files
committed
update configurators to mount plux ini
1 parent d32e212 commit 7550070

File tree

1 file changed

+8
-17
lines changed

1 file changed

+8
-17
lines changed

localstack-core/localstack/dev/run/configurators.py

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -236,12 +236,7 @@ def __call__(self, cfg: ContainerConfiguration):
236236
dep, ver = dep_path.split("-")
237237

238238
if dep == "localstack_core":
239-
host_path = (
240-
self.host_paths.localstack_project_dir
241-
/ "localstack-core"
242-
/ "localstack_core.egg-info"
243-
/ "entry_points.txt"
244-
)
239+
host_path = self.host_paths.localstack_project_dir / "plux.ini"
245240
if host_path.is_file():
246241
cfg.volumes.add(
247242
BindMount(
@@ -250,13 +245,9 @@ def __call__(self, cfg: ContainerConfiguration):
250245
read_only=True,
251246
)
252247
)
253-
continue
254248
elif dep == "localstack_ext":
255249
host_path = (
256-
self.host_paths.localstack_pro_project_dir
257-
/ "localstack-pro-core"
258-
/ "localstack_ext.egg-info"
259-
/ "entry_points.txt"
250+
self.host_paths.localstack_pro_project_dir / "localstack-pro-core" / "plux.ini"
260251
)
261252
if host_path.is_file():
262253
cfg.volumes.add(
@@ -266,12 +257,12 @@ def __call__(self, cfg: ContainerConfiguration):
266257
read_only=True,
267258
)
268259
)
269-
continue
270-
for host_path in self.host_paths.workspace_dir.glob(
271-
f"*/{dep}.egg-info/entry_points.txt"
272-
):
273-
cfg.volumes.add(BindMount(str(host_path), str(container_path), read_only=True))
274-
break
260+
else:
261+
for host_path in self.host_paths.workspace_dir.glob(
262+
f"*/{dep}.egg-info/entry_points.txt"
263+
):
264+
cfg.volumes.add(BindMount(str(host_path), str(container_path), read_only=True))
265+
break
275266

276267

277268
class DependencyMountConfigurator:

0 commit comments

Comments
 (0)