diff options
author | Matthew Heon <mheon@redhat.com> | 2020-08-24 13:09:30 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2020-08-27 15:04:22 -0400 |
commit | 580c39fea8f1053934a533ad34ed159db3c906cb (patch) | |
tree | b634488c1a31269ebb0d7282d5ac3b0d69c4de9a /pkg/hooks/exec | |
parent | 72c5b35ea5db44ca1c81a688d90f5c3aa8f8262e (diff) | |
download | podman-580c39fea8f1053934a533ad34ed159db3c906cb.tar.gz podman-580c39fea8f1053934a533ad34ed159db3c906cb.tar.bz2 podman-580c39fea8f1053934a533ad34ed159db3c906cb.zip |
Ensure pod REST API endpoints include ctr errors
The APIv2 pod endpoints that operate on multiple containers, such
as Start, Kill, Pause, Unpause, do not report errors encountered
by individual containers, because they incorrectly assume that
any error is fatal. The documentation for the Libpod API calls
notes, however, that ErrPodPartialFail will *always* be returned
if any container failed; so we need to ignore that error and
continue to collating and returning container errors.
Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'pkg/hooks/exec')
0 files changed, 0 insertions, 0 deletions