spiegel_podman/pkg/api/handlers
Paul Holzinger 5185e7e39e
stats compat API: return "id" lowercase
We use the same endpoint for libpod and docker compat API. However as
reported docker returns "id" lowercase. Because we cannot break the
libpod API right now keep the output for the libpod endpoint and only
change the docker one.

To do so simply use two types that we can cast with different JSON tags.

Fixes #17869

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2023-03-22 14:36:35 +01:00
..
compat stats compat API: return "id" lowercase 2023-03-22 14:36:35 +01:00
libpod Use default_ulimits field in containers.conf 2023-03-17 08:04:05 -04:00
swagger Vendor c/image after https://github.com/containers/image/pull/1816 2023-02-08 22:37:38 +01:00
types bump go module to version 4 2022-01-18 12:47:07 +01:00
utils Don't use github.com/docker/distribution 2022-10-17 14:42:36 -04:00
decoder.go bump golangci-lint to v1.49.0 2022-10-17 09:19:41 +02:00
types.go implement podman update 2022-09-01 13:02:01 -04:00