diff options
author | Paul Holzinger <paul.holzinger@web.de> | 2021-01-31 15:46:39 +0100 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2021-02-04 13:52:26 -0500 |
commit | be6afd10d98e01643ab2c6553126bc17dc6e7dfb (patch) | |
tree | 659f1dfffd550bd1a4df11afe7d506085b33fae4 /cmd/podman/shell_completion_test.go | |
parent | f4c828f827516684b33ff8f30cf4b266313c1964 (diff) | |
download | podman-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