summaryrefslogtreecommitdiff
path: root/test/apiv2/python
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2022-01-18 16:17:53 +0100
committerPaul Holzinger <pholzing@redhat.com>2022-01-18 19:28:25 +0100
commitc0e07234631cfcea1d6724c05606964a4d833f39 (patch)
tree57c80b1ff2804f26a0546117b01c30ffbadcbc1c /test/apiv2/python
parent55ad6188b067ba6594819c318dd2ae92dea2f27e (diff)
downloadpodman-c0e07234631cfcea1d6724c05606964a4d833f39.tar.gz
podman-c0e07234631cfcea1d6724c05606964a4d833f39.tar.bz2
podman-c0e07234631cfcea1d6724c05606964a4d833f39.zip
rename --cni-config-dir to --network-config-dir
Since this option will also be used for netavark we should rename it to something more generic. It is important that --cni-config-dir still works otherwise we could break existing container cleanup commands. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'test/apiv2/python')
-rw-r--r--test/apiv2/python/rest_api/fixtures/podman.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/apiv2/python/rest_api/fixtures/podman.py b/test/apiv2/python/rest_api/fixtures/podman.py
index bae04f87d..c700571b9 100644
--- a/test/apiv2/python/rest_api/fixtures/podman.py
+++ b/test/apiv2/python/rest_api/fixtures/podman.py
@@ -44,7 +44,7 @@ class Podman:
os.environ["CNI_CONFIG_PATH"] = os.path.join(self.anchor_directory, "cni", "net.d")
os.makedirs(os.environ["CNI_CONFIG_PATH"], exist_ok=True)
- self.cmd.append("--cni-config-dir=" + os.environ["CNI_CONFIG_PATH"])
+ self.cmd.append("--network-config-dir=" + os.environ["CNI_CONFIG_PATH"])
cni_cfg = os.path.join(os.environ["CNI_CONFIG_PATH"], "87-podman-bridge.conflist")
# json decoded and encoded to ensure legal json
buf = json.loads(