spiegel_podman/pkg/api/handlers/libpod
Matt Heon 7b3d47c3b9 Fix container errors not being sent via pod removal API
When I reworked pod removal to provide more detailed errors
(including per-container errors, not just a single multierror
with all errors squashed), I made it part of the struct returned
by the REST API and assumed that would be enough to get errors
through to clients. Unfortunately, in case of an overarching
error removing the pod (as any error with any container would
cause), we don't send the response struct that would include the
container errors - we just send a standardized REST error. We
could work around this with custom, potentially backwards
incompatible error handling for the REST pod delete endpoint, or
we could just do what was done before, and package up all the
errors in a multierror to send to the other side. Of those
options, the multierror seems far simpler.

Fixes #19159

Signed-off-by: Matt Heon <mheon@redhat.com>
2023-07-13 09:05:56 -04:00
..
containers.go Add missing return after errors 2023-02-06 20:32:06 +01:00
containers_create.go Use default_ulimits field in containers.conf 2023-03-17 08:04:05 -04:00
containers_stats.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
generate.go Read kube_generate_type from containers.conf 2023-04-11 09:15:05 -04:00
healthcheck.go Add support for startup healthchecks 2022-11-28 13:30:29 -05:00
images.go remote-save: fix permissions and dir formats 2023-05-15 15:30:57 +02:00
images_pull.go Simplify ImagesPull for when Quiet flag is on 2022-08-18 23:48:41 +03:00
images_push.go cmd, push: expose --compression-level 2023-06-21 14:28:16 +02:00
info.go bump go module to version 4 2022-01-18 12:47:07 +01:00
kube.go system service: do not close Body 2023-04-04 15:47:10 +02:00
manifests.go manifest inspect: support authentication 2023-07-13 09:05:56 -04:00
networks.go Add missing return after errors 2023-02-06 20:32:06 +01:00
play.go Add "podman kube play" cmd 2022-07-13 15:27:03 +01:00
pods.go Fix container errors not being sent via pod removal API 2023-07-13 09:05:56 -04:00
secrets.go Add support for secret exists 2023-04-03 15:33:50 +03:00
swagger_spec.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
system.go Add podman system prune --external 2022-12-05 18:09:21 +01:00
volumes.go Add podman volume create --ignore 2022-10-24 17:30:31 +02:00