[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] podman: fix command invocation
From: |
John Snow |
Subject: |
[Qemu-devel] [PATCH] podman: fix command invocation |
Date: |
Fri, 13 Sep 2019 15:38:21 -0400 |
Oops; there's no argv here.
Signed-off-by: John Snow <address@hidden>
---
tests/docker/docker.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/docker/docker.py b/tests/docker/docker.py
index 29613afd48..bc7a470ca2 100755
--- a/tests/docker/docker.py
+++ b/tests/docker/docker.py
@@ -334,7 +334,7 @@ class Docker(object):
cmd = [ "-u", str(uid) ] + cmd
# podman requires a bit more fiddling
if self._command[0] == "podman":
- argv.insert(0, '--userns=keep-id')
+ cmd.insert(0, '--userns=keep-id')
ret = self._do_check(["run", "--label",
"com.qemu.instance.uuid=" + label] + cmd,
--
2.21.0
- [Qemu-devel] [PATCH] podman: fix command invocation,
John Snow <=