spiegel_podman/pkg/api/handlers
Paul Holzinger e404976d1b
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>
2024-06-24 13:47:01 +02:00
..
compat podman events: check for an error after we finish reading events 2024-05-14 13:18:51 -04:00
libpod remote API: fix pod top error reporting 2024-06-24 13:47:01 +02:00
swagger Add podman system check for checking storage consistency 2024-06-04 10:00:37 -04:00
types Bump Go module to v5 2024-02-08 09:35:39 -05:00
utils Return StatusNotFound when multiple volumes matching occurs 2024-05-15 06:21:14 -04:00
changes.go Accept a config blob alongside the "changes" slice when committing 2023-11-30 09:00:52 -05:00
changes_test.go Accept a config blob alongside the "changes" slice when committing 2023-11-30 09:00:52 -05:00
decoder.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types.go Fix reference to deprecated types.Info 2024-03-27 08:17:10 -05:00