spiegel_podman/pkg/api/handlers
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
..
compat api: fix slow version endpoint 2023-07-13 09:05:56 -04:00
libpod Fix container errors not being sent via pod removal API 2023-07-13 09:05:56 -04:00
swagger Vendor c/image after https://github.com/containers/image/pull/1816 2023-02-08 22:37:38 +01:00
types bump go module to version 4 2022-01-18 12:47:07 +01:00
utils container wait: support health states 2023-06-23 14:16:32 +02:00
decoder.go bump golangci-lint to v1.49.0 2022-10-17 09:19:41 +02:00
types.go implement podman update 2022-09-01 13:02:01 -04:00