spiegel_podman/pkg/api/handlers/compat
Paul Holzinger 5614c29ce1
compat api: fix regressions from "Swagger refactor/cleanup"
For some reason commit 5b79cf15a0 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 bce97a3b5d. 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>
2022-06-09 16:00:46 +02:00
..
auth.go Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00
changes.go Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00
containers.go Swagger refactor/cleanup 2022-05-19 15:24:18 -07:00
containers_archive.go Add API support for NoOverwriteDirNonDir 2022-05-26 16:31:15 -07:00
containers_attach.go Allow HTTP attach to stopped containers 2022-04-13 14:04:05 -04:00
containers_create.go compat api: fix regressions from "Swagger refactor/cleanup" 2022-06-09 16:00:46 +02:00
containers_export.go Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00
containers_logs.go Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00
containers_pause.go bump go module to version 4 2022-01-18 12:47:07 +01:00
containers_prune.go Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00
containers_restart.go Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00
containers_start.go bump go module to version 4 2022-01-18 12:47:07 +01:00
containers_stats.go podman stats: calc CPU percentage correctly 2022-03-22 17:43:49 +01:00
containers_stop.go Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00
containers_top.go Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00
containers_unpause.go bump go module to version 4 2022-01-18 12:47:07 +01:00
events.go Swagger refactor/cleanup 2022-05-19 15:24:18 -07:00
exec.go Swagger refactor/cleanup 2022-05-19 15:24:18 -07:00
images.go pkg/api/handlers/compat/images.go: drop TODO message 2022-05-25 12:31:31 +02:00
images_build.go podman-remote: enable support for additional build-context on macOS, remote 2022-06-02 17:38:33 +05:30
images_history.go Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00
images_prune.go Swagger refactor/cleanup 2022-05-19 15:24:18 -07:00
images_push.go Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00
images_remove.go Deleting an n use image should return conflict not system error 2022-05-16 09:59:19 -04:00
images_save.go Refactor handler packages 2020-03-10 08:03:41 -07:00
images_search.go Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00
images_tag.go Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00
info.go Swagger refactor/cleanup 2022-05-19 15:24:18 -07:00
networks.go Swagger refactor/cleanup 2022-05-19 15:24:18 -07:00
ping.go Refacter API server emphasis on logging 2021-09-10 15:07:25 -07:00
resize.go Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00
secrets.go Swagger refactor/cleanup 2022-05-19 15:24:18 -07:00
system.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types.go V2 verify JSON output is consistent and doesn't drift 2020-05-28 16:20:29 -07:00
unsupported.go bump go module to version 4 2022-01-18 12:47:07 +01:00
version.go Swagger refactor/cleanup 2022-05-19 15:24:18 -07:00
volumes.go Swagger refactor/cleanup 2022-05-19 15:24:18 -07:00