Skip to content

Commit

Permalink
Handling dependencies comming from links.
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Rubio <felix@kngnt.org>
  • Loading branch information
flixman committed Nov 29, 2024
1 parent 3729b3b commit e6df110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion podman_compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(":")
Expand Down

0 comments on commit e6df110

Please sign in to comment.