mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-05 08:25:40 +00:00
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>
|
||
|---|---|---|
| .. | ||
| _static | ||
| markdown | ||
| Commands.rst | ||
| conf.py | ||
| includes.rst | ||
| index.rst | ||
| Introduction.rst | ||
| Reference.rst | ||
| Search.rst | ||
| Tutorials.rst | ||
| volume.rst | ||