mirror of
https://github.com/containers/podman-compose.git
synced 2024-12-26 16:48:55 +01:00
Update podman_compose.py
fix #940 Signed-off-by: Zhen Liu <lzhen.dev@outlook.com>
This commit is contained in:
parent
2ce6d1a1e7
commit
1d64f2cf8c
@ -1749,7 +1749,7 @@ class PodmanCompose:
|
||||
# If `include` is used, append included files to files
|
||||
include = compose.get("include", None)
|
||||
if include:
|
||||
files.append(*include)
|
||||
files.extend(include)
|
||||
# As compose obj is updated and tested with every loop, not deleting `include`
|
||||
# from it, results in it being tested again and again, original values for
|
||||
# `include` be appended to `files`, and, included files be processed for ever.
|
||||
|
Loading…
Reference in New Issue
Block a user