mirror of
https://github.com/containers/podman-compose.git
synced 2025-05-31 07:26:13 +02:00
#365: 'Namespace' object has no attribute 'volumes'
This commit is contained in:
parent
e9b103eb23
commit
544fd7fe12
@ -1465,7 +1465,8 @@ def compose_up(compose, args):
|
|||||||
|
|
||||||
# TODO: implement check hash label for change
|
# TODO: implement check hash label for change
|
||||||
if args.force_recreate:
|
if args.force_recreate:
|
||||||
compose.commands['down'](compose, args)
|
down_args = argparse.Namespace(**dict(args.__dict__, volumes=False))
|
||||||
|
compose.commands['down'](compose, down_args)
|
||||||
# args.no_recreate disables check for changes (which is not implemented)
|
# args.no_recreate disables check for changes (which is not implemented)
|
||||||
|
|
||||||
podman_command = 'run' if args.detach and not args.no_start else 'create'
|
podman_command = 'run' if args.detach and not args.no_start else 'create'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user