diff options
author | Paul Holzinger <pholzing@redhat.com> | 2022-06-09 15:31:26 +0200 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2022-06-14 16:12:10 -0400 |
commit | b32f4921a51659ed0f348937bef1e4bbfbf490ad (patch) | |
tree | 64f011d6118e28a1b6426f6a10230c4fd88287f7 /libpod/util_test.go | |
parent | 8e2faa4faf22916af453e3aa9abd747c7197f01a (diff) | |
download | podman-b32f4921a51659ed0f348937bef1e4bbfbf490ad.tar.gz podman-b32f4921a51659ed0f348937bef1e4bbfbf490ad.tar.bz2 podman-b32f4921a51659ed0f348937bef1e4bbfbf490ad.zip |
compat api: fix regressions from "Swagger refactor/cleanup"
For some reason commit 5b79cf15a022 moved the container create options
parsing from cmd/podman/common to pkg/api/handlers. However it did not
remove the old code. Unfortunately it moved the code from an outdated
version and did not update it before this commit was merged.
Therefore a couple of regressions were introduced. I manually compared
both versions and found three missing bugfixes.
I fixed the network test again that was changed in bce97a3b5dd1. We
want bridge as default even as rootless. Sine the test is not run as
rootless in CI the regression was not caught.
Also the no hosts test never worked since it was missing the import
check if the hosts file exists.
I don't think we can check for the volume parsing change since this only
works on windows/wsl.
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'libpod/util_test.go')
0 files changed, 0 insertions, 0 deletions