Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

podman events: --format is broken #15648

Closed
edsantiago opened this issue Sep 6, 2022 · 1 comment · Fixed by #15644
Closed

podman events: --format is broken #15648

edsantiago opened this issue Sep 6, 2022 · 1 comment · Fixed by #15644
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@edsantiago
Copy link
Member

Looks like nobody ever actually tested it:

# podman events --stream=false --format='{{.ID}}'
Error: template: events:1:8: executing "events" at <.>: range can't iterate over {0 e06c985f70b9bf4f76c9c55d846274c9e83d9af999e0cc598ba966cd99ff09d9    history 2022-09-06 09:24:39.692735139 -0400 EDT container  { map[]}}

Same with .Image, Name, Status, even .Foo. This is on a brand-brand-new VM, where the only thing I've done is:

# dnf install podman
# podman run quay.io/libpod/testimage:20220615 date

(but yes, it also fails on my laptop, root and rootless, git@main as well as released-from-rpm)

@edsantiago edsantiago added the kind/bug Categorizes issue or PR as related to a bug. label Sep 6, 2022
@vrothberg
Copy link
Member

@Luap99 is working on a fix for that in #15644

@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 16, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants