fix AttributeError when running a one-off command

Without this, I get errors when running "podman-compose -p podname run".
This commit is contained in:
Tim Elliott 2021-12-03 13:33:32 -08:00 committed by Muayyad alsadi
parent 5f40f4df31
commit 7fda1cc835

View File

@ -1447,7 +1447,7 @@ def compose_run(compose, args):
up_args = argparse.Namespace(**dict(args.__dict__,
detach=True, services=deps,
# defaults
no_build=False, build=True, force_recreate=False, no_start=False,
no_build=False, build=True, force_recreate=False, no_start=False, no_cache=False, build_arg=[],
)
)
compose.commands['up'](compose, up_args)