spiegel_podman/pkg/api/handlers/libpod
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
..
containers.go remote API: restore v4 payload in container inspect 2024-05-14 17:56:20 +02:00
containers_create.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
containers_stats.go Fail earlier when no containers exist in stats 2024-05-29 06:38:56 -04:00
generate.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
healthcheck.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
images.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
images_pull.go Allow podman pull to specify --retry and --retry-delay 2024-02-17 07:37:26 -05:00
images_push.go Add support for podman push --retry --retry-delay 2024-02-29 10:20:21 -05:00
info.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
kube.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
manifests.go podman manifest add: support creating artifact manifest on the fly 2024-02-29 11:47:44 -05:00
networks.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
play.go Add "podman kube play" cmd 2022-07-13 15:27:03 +01:00
pods.go remote API: fix pod top error reporting 2024-06-24 13:47:01 +02:00
secrets.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
swagger_spec.go pkg/api: use fileutils.(Le|E)xists 2024-04-19 09:52:14 +02:00
system.go Add podman system check for checking storage consistency 2024-06-04 10:00:37 -04:00
volumes.go Bump Go module to v5 2024-02-08 09:35:39 -05:00