Merge pull request #1247 from whym/log-formatter-bug

Fixes #1237: Remove unnecessary 'or "text"'
This commit is contained in:
Povilas Kanapickas
2025-06-25 22:45:13 +03:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
Fixed regression of log output including "text" in detached mode.

View File

@ -3061,7 +3061,7 @@ async def run_container(
# start the container
log.debug("Starting task for container %s", name)
return await compose.podman.run(*command, log_formatter=log_formatter or "text") # type: ignore[misc]
return await compose.podman.run(*command, log_formatter=log_formatter) # type: ignore[misc]
def deps_from_container(args: argparse.Namespace, cnt: dict) -> set: