automation-tests/pkg/api/handlers/utils
Paul Holzinger 768aaadca1
libpod API: only return exit code without conditions
The special handling to return the exit code after the container has
been removed should only be done if there are no special conditions
requested. If a user asked for running or nay other state returning the
exit code immediately with a success response is just wrong. We only
want to allow that so the remote client can fetch the exit code without
races.

Fixes b3829a2932 ("libpod API: make wait endpoint better against rm races")

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-10-15 18:31:36 +02:00
..
apiutil set !remote build tags where needed 2024-08-19 11:41:28 +02:00
containers.go libpod API: only return exit code without conditions 2024-10-15 18:31:36 +02:00
errors.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
handler.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
handler_test.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
images.go Remove containers/common/pkg/config from pkg/util 2024-09-06 07:45:04 -04:00