mirror of
https://github.com/containers/podman.git
synced 2026-01-27 07:18:19 -05:00
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>