mirror of
https://github.com/containers/podman-compose.git
synced 2025-06-20 03:37:47 +02:00
Use correct logging methods
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
This commit is contained in:
parent
0be50ffdfb
commit
5765e5306b
@ -1838,11 +1838,11 @@ def rec_merge_one(target: dict[str, Any], source: dict[str, Any]) -> dict[str, A
|
|||||||
continue
|
continue
|
||||||
if key not in source:
|
if key not in source:
|
||||||
if isinstance(value, ResetTag):
|
if isinstance(value, ResetTag):
|
||||||
log("INFO: Unneeded !reset found for [{key}]")
|
log.info("Unneeded !reset found for [%s]", key)
|
||||||
remove.add(key)
|
remove.add(key)
|
||||||
|
|
||||||
if isinstance(value, OverrideTag):
|
if isinstance(value, OverrideTag):
|
||||||
log("INFO: Unneeded !override found for [{key}] with value '{value}'")
|
log.info("Unneeded !override found for [%s] with value '%s'", key, value)
|
||||||
target[key] = clone(value.value)
|
target[key] = clone(value.value)
|
||||||
|
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user