spiegel_podman/pkg/domain/entities
ROKUMATE 3d9e8fd2d3 pkg/domain: return an error instead of nil on remote event parse failure
In remote mode `podman events --format json` could print the literal "null"
instead of an event object. The remote client converts each event received
from the server with ConvertToLibpodEvent, which returned nil when it could
not parse the server result (an unknown status or type, or an invalid
containerExitCode). The tunnel forwarded that nil as an event with no error
set, so the CLI marshalled a nil event and printed "null".

Return a descriptive error from ConvertToLibpodEvent and send it on the event
channel, which the CLI already handles, instead of forwarding a nil event.

Signed-off-by: ROKUMATE <rohitkumawat0110@gmail.com>
2026-06-30 18:13:20 +05:30
..
reports fix: system prune JSON unmarshalling error in remote client 2025-10-14 14:33:12 +02:00
types Add migration code for BoltDB to SQLite 2026-05-08 14:07:17 -04:00
apply.go Add podman kube apply command 2022-11-01 15:30:17 -04:00
artifact.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
auto-update.go Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
container_ps.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers.go exec: honor ConsoleSize so the terminal is sized at creation 2026-06-22 10:36:10 +08:00
engine.go Add migration code for BoltDB to SQLite 2026-05-08 14:07:17 -04:00
engine_container.go libpod: add volume rename support 2026-06-11 21:56:15 +01:00
engine_image.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
events.go pkg/domain: return an error instead of nil on remote event parse failure 2026-06-30 18:13:20 +05:30
events_test.go pkg/domain: return an error instead of nil on remote event parse failure 2026-06-30 18:13:20 +05:30
generate.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
healthcheck.go podmanv2 enable healthcheck run 2020-03-29 18:48:29 -05:00
images.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
machine.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
manifest.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
network.go feat: add --ignore flag to network rm 2026-06-23 10:52:47 +09:00
play.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
pods.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
quadlet.go Handle uninstantiated template quadlets 2026-06-23 14:34:20 +02:00
scp.go Add --format to image scp 2026-03-19 17:42:33 +01:00
secrets.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
system.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
volumes.go libpod: add volume rename support 2026-06-11 21:56:15 +01:00