mirror of
https://github.com/containers/podman.git
synced 2026-07-09 06:44:58 -04:00
When returning error http code (e.g. 4xx, 5xx) the body needs to contain a JSON that has a key "message" in it, we must not use jsonmessage.JSONMessage. The JSON of shape jsonmessage.JSONMessage is used only when client already received 200. Signed-off-by: Matej Vašek <matejvasek@gmail.com>