mirror of
https://github.com/containers/podman-compose.git
synced 2025-03-28 08:37:22 +01:00
Fix inverted condition in merging arguments
Signed-off-by: Tom Bu <tombu@tombu.info>
This commit is contained in:
parent
b78509527b
commit
a735aa5b96
@ -1140,7 +1140,7 @@ def rec_merge_one(target, source):
|
||||
if key not in source:
|
||||
continue
|
||||
value2 = source[key]
|
||||
if isinstance(value2, type(value)):
|
||||
if not isinstance(value2, type(value)):
|
||||
value_type = type(value)
|
||||
value2_type = type(value2)
|
||||
raise ValueError(
|
||||
|
Loading…
Reference in New Issue
Block a user