podman/libpod/events
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
..
config.go Set correct exitcode in remove events and change ContainerExitCode from int to int ptr 2023-11-28 13:31:18 +00:00
events.go Set correct exitcode in remove events and change ContainerExitCode from int to int ptr 2023-11-28 13:31:18 +00:00
events_freebsd.go events: Fix spelling of newNullEventer 2022-09-13 08:38:13 +01:00
events_linux.go event backend none: return an error when reading events 2022-09-12 18:05:17 +02:00
events_unsupported.go events: Add freebsd support for libpod/event 2022-08-22 10:14:12 +01:00
filters.go fix: podman event --filter volume=vol-name should compare the event name with volume name 2023-05-22 19:11:15 +05:30
journal_linux.go Set correct exitcode in remove events and change ContainerExitCode from int to int ptr 2023-11-28 13:31:18 +00:00
journal_unsupported.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
logfile.go events: no duplicates when streaming during a log rotation 2023-03-15 10:28:16 +01:00
logfile_test.go events: no duplicates when streaming during a log rotation 2023-03-15 10:28:16 +01:00
memory.go Add podman machine events 2022-05-03 13:49:01 -07:00
nullout.go Fix typos. Improve language. 2023-02-09 21:56:27 +01:00