From 749d188321c4662e98de84b8c1449d10b8b2d647 Mon Sep 17 00:00:00 2001 From: Tim Elliott Date: Fri, 3 Dec 2021 13:33:32 -0800 Subject: [PATCH] fix AttributeError when running a one-off command Without this, I get errors when running "podman-compose -p podname run". --- podman_compose.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/podman_compose.py b/podman_compose.py index 7181b02..e995239 100755 --- a/podman_compose.py +++ b/podman_compose.py @@ -1526,7 +1526,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)