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 e879529976
commit 749d188321

View File

@ -1526,7 +1526,7 @@ def compose_run(compose, args):
up_args = argparse.Namespace(**dict(args.__dict__, up_args = argparse.Namespace(**dict(args.__dict__,
detach=True, services=deps, detach=True, services=deps,
# defaults # 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) compose.commands['up'](compose, up_args)