spiegel_podman/pkg/api
Paul Holzinger e2518503ee remote API: fix pod top error reporting
Do not return 200 status code before we know if there will be an error.
Delay writing the status code until we send the first response. That way
we can set an error code inside the loop when we get a error on the
first try, i.e. because an invalid descriptor was used.

Fixes #22986

Signed-off-by: Paul Holzinger <pholzing@redhat.com>

<MH: Fixed conflict in tests>

Signed-off-by: Matt Heon <mheon@redhat.com>
2024-07-10 08:06:08 -04:00
..
handlers remote API: fix pod top error reporting 2024-07-10 08:06:08 -04:00
server Add support for updating restart policy 2024-04-17 08:23:51 -04:00
types fix: Docker API compatible bool deserialization 2023-08-14 15:09:14 +02:00
Makefile install swagger from source 2024-04-12 15:26:34 +02:00
tags.yaml [CI:DOCS] Set all operation id to be compatibile 2021-04-05 19:54:30 -07:00