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 pod ps: --format .Labels seems to be unimplemented #6448

Closed
edsantiago opened this issue Jun 1, 2020 · 0 comments · Fixed by #6449
Closed

podman pod ps: --format .Labels seems to be unimplemented #6448

edsantiago opened this issue Jun 1, 2020 · 0 comments · Fixed by #6449
Labels
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

podman-pod-ps(1) documents a .Labels template field but:

$ podman pod ps --format '{{.ID}} {{.Status}} {{.Labels}}'
Error: Template parsing error: template: image:1:22: executing "image" at <.Labels>: can't evaluate field Labels in type main.podPsTemplateParams

(I've tried various different CaPiTaLiZatiOns, tried singular/plural)

podman-1.9.2-1.fc32, also master @ f42c30578958be3a502cf75b06054296269c94e9

baude added a commit to baude/podman that referenced this issue Jun 1, 2020
the pod ps man page says .Label is valid go template format. i dont think the function was actually ever implemented.

Fixes containers#6448

Signed-off-by: Brent Baude <[email protected]>
@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 23, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
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.

1 participant