From e6df1100f6f1b5338f7e4fbb52c73a8d45660a20 Mon Sep 17 00:00:00 2001 From: Felix Rubio Date: Fri, 29 Nov 2024 21:20:55 +0100 Subject: [PATCH] Handling dependencies comming from links. Signed-off-by: Felix Rubio --- podman_compose.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/podman_compose.py b/podman_compose.py index a102a11..a9c23ae 100755 --- a/podman_compose.py +++ b/podman_compose.py @@ -1354,7 +1354,7 @@ def rec_deps(services, service_name, start_point=None): links_ls = srv.get("links", []) if not is_list(links_ls): links_ls = [links_ls] - deps.update([(c.split(":")[0] if ":" in c else c) for c in links_ls]) + deps.update([ServiceDependency(c.split(":")[0] if ":" in c else c) for c in links_ls]) for c in links_ls: if ":" in c: dep_name, dep_alias = c.split(":")