podman/pkg/api/handlers/utils
Chetan Giradkar 572f38c0db Set correct exitcode in remove events and change ContainerExitCode from int to int ptr
Added additional check for event type to be remove and set the correct exitcode.
While it was getting difficult to maintain the omitempty notation for Event->ContainerExitCode, changing the type from int to int ptr gives us the ability to check for ContainerExitCode to be not nil and continue operations from there.

closes #19124

Signed-off-by: Chetan Giradkar <cgiradka@redhat.com>
2023-11-28 13:31:18 +00:00
..
apiutil create apiutils package 2023-08-24 16:19:50 +02:00
containers.go Set correct exitcode in remove events and change ContainerExitCode from int to int ptr 2023-11-28 13:31:18 +00:00
errors.go libpod/runtime: switch to golang native error wrapping 2022-07-04 15:39:00 +02:00
handler.go create apiutils package 2023-08-24 16:19:50 +02:00
handler_test.go create apiutils package 2023-08-24 16:19:50 +02:00
images.go fix: pull error response docker rest api compatibility 2023-10-13 20:19:18 -03:00