forked from extern/podman-compose
MAINT: extend instead of append
This commit is contained in:
parent
047820dbf1
commit
8cd98ab708
@ -567,7 +567,7 @@ def container_to_args(compose, cnt, detached=True, podman_command='run'):
|
|||||||
if cnt.get('privileged', None):
|
if cnt.get('privileged', None):
|
||||||
podman_args.append('--privileged')
|
podman_args.append('--privileged')
|
||||||
if cnt.get('restart', None) is not None:
|
if cnt.get('restart', None) is not None:
|
||||||
podman_args.append(['--restart', cnt['restart']])
|
podman_args.extend(['--restart', cnt['restart']])
|
||||||
container_to_ulimit_args(cnt, podman_args)
|
container_to_ulimit_args(cnt, podman_args)
|
||||||
# currently podman shipped by fedora does not package this
|
# currently podman shipped by fedora does not package this
|
||||||
# if cnt.get('init', None):
|
# if cnt.get('init', None):
|
||||||
|
Loading…
Reference in New Issue
Block a user