From 8cd98ab7088f785030d264aa275f3b58feb74e95 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 22 May 2020 14:52:49 +0200 Subject: [PATCH] MAINT: extend instead of append --- podman_compose.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/podman_compose.py b/podman_compose.py index b8093ac..ccc5c33 100755 --- a/podman_compose.py +++ b/podman_compose.py @@ -567,7 +567,7 @@ def container_to_args(compose, cnt, detached=True, podman_command='run'): if cnt.get('privileged', None): podman_args.append('--privileged') 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) # currently podman shipped by fedora does not package this # if cnt.get('init', None):