forked from extern/podman-compose
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:
parent
e879529976
commit
749d188321
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user