summaryrefslogtreecommitdiff
path: root/cmd/podman/shell_completion_test.go
diff options
context:
space:
mode:
authorPaul Holzinger <paul.holzinger@web.de>2021-01-31 15:46:39 +0100
committerMatthew Heon <matthew.heon@pm.me>2021-02-04 13:52:26 -0500
commitbe6afd10d98e01643ab2c6553126bc17dc6e7dfb (patch)
tree659f1dfffd550bd1a4df11afe7d506085b33fae4 /cmd/podman/shell_completion_test.go
parentf4c828f827516684b33ff8f30cf4b266313c1964 (diff)
downloadpodman-be6afd10d98e01643ab2c6553126bc17dc6e7dfb.tar.gz
podman-be6afd10d98e01643ab2c6553126bc17dc6e7dfb.tar.bz2
podman-be6afd10d98e01643ab2c6553126bc17dc6e7dfb.zip
Fix --network parsing for podman pod create
The `--network` flag is parsed differently for `podman pod create`. This causes confusion and problems for users. The extra parsing logic ignored unsupported network options such as `none`, `container:...` and `ns:...` and instead interpreted them as cni network names. Tests are added to ensure the correct errors are shown. Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'cmd/podman/shell_completion_test.go')
0 files changed, 0 insertions, 0 deletions