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
containers_stats.go Fail earlier when no containers exist in stats 2024-05-29 06:38:56 -04:00
generate.go
healthcheck.go
images.go
images_pull.go
images_push.go
info.go
kube.go
manifests.go
networks.go
play.go
pods.go remote API: fix pod top error reporting 2024-06-24 13:47:01 +02:00
secrets.go
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