spiegel_podman/cmd
Chris Evich e89234aba2
Fix podman system events command and event template handling
Add systemEventsCommand to support 'podman system events' as an alias
for 'podman events'. This fixes the 'unknown shorthand flag: f' error
when using 'podman system events -f' in tests prior to this commit.

Fix event template handling by changing report.OriginUser to
report.OriginUnknown to prevent the template parser from trying to
iterate over the event struct. This fixes template errors like
'range can't iterate over' for templates like {{.ID}}--{{.Image}}
and {{.Attributes.xxx}} as observed in tests prior to this commit.

Update event journal reading to set Attributes directly on the Event
struct (since Details is embedded) and add support for PodID and
ContainerInspectData fields in the Details struct.

Update event loop to use select statement for proper channel handling
and error propagation.

Assisted-by: Cursor <Auto>
Signed-off-by: Chris Evich <cevich@redhat.com>
2026-03-30 15:13:33 -04:00
..
podman Fix podman system events command and event template handling 2026-03-30 15:13:33 -04:00
podman-mac-helper Fix spelling "read only" -> "read-only" 2022-07-02 08:37:43 +02:00
rootlessport cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
winpath Fix spelling "setup" -> "set up" and similar 2022-06-22 18:39:21 +02:00