forked from extern/podman-compose
#365: 'Namespace' object has no attribute 'volumes'
This commit is contained in:
parent
49fe6e7e0f
commit
5ba96a1082
@ -1395,7 +1395,8 @@ def compose_up(compose, args):
|
||||
|
||||
# TODO: implement check hash label for change
|
||||
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)
|
||||
|
||||
podman_command = 'run' if args.detach and not args.no_start else 'create'
|
||||
|
Loading…
Reference in New Issue
Block a user