diff options
author | Paul Holzinger <pholzing@redhat.com> | 2022-01-18 16:17:53 +0100 |
---|---|---|
committer | Paul Holzinger <pholzing@redhat.com> | 2022-01-18 19:28:25 +0100 |
commit | c0e07234631cfcea1d6724c05606964a4d833f39 (patch) | |
tree | 57c80b1ff2804f26a0546117b01c30ffbadcbc1c /pkg/bindings/test | |
parent | 55ad6188b067ba6594819c318dd2ae92dea2f27e (diff) | |
download | podman-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 'pkg/bindings/test')
-rw-r--r-- | pkg/bindings/test/common_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/bindings/test/common_test.go b/pkg/bindings/test/common_test.go index d1a07598e..f51e5f404 100644 --- a/pkg/bindings/test/common_test.go +++ b/pkg/bindings/test/common_test.go @@ -86,7 +86,7 @@ func (b *bindingTest) runPodman(command []string) *gexec.Session { } val, ok = os.LookupEnv("CNI_CONFIG_DIR") if ok { - cmd = append(cmd, "--cni-config-dir", val) + cmd = append(cmd, "--network-config-dir", val) } val, ok = os.LookupEnv("CONMON") if ok { |