Container completions broken when inspecting without specifying container
in the command
#18672
Labels
Good First Issue
This issue would be a good issue for a first time contributor to undertake.
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.
stale-issue
Issue Description
When the
podman inspect <container_name>
command is used with the --format flag, the autocompletion doesn't show possible options for Go templates (see example below).However, when
container
is included in the command, the autocompletion works properly.Other useful information:
Steps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
Empty results
Describe the results you expected
{{.AppArmorProfile}} {{.ConmonPidFile}} {{.EffectiveCaps}} {{.HostnamePath}} {{.ImageDigest}} {{.MountLabel}} {{.NetworkSettings. {{.PidFile}} {{.RestartCount}} {{.State.
{{.Args}} {{.Created. {{.ExecIDs}} {{.HostsPath}} {{.ImageName}} {{.Mounts}} {{.OCIConfigPath}} {{.Pod}} {{.Rootfs}} {{.StaticDir}}
{{.BoundingCaps}} {{.Dependencies}} {{.GraphDriver. {{.ID}} {{.IsInfra}} {{.Name}} {{.OCIRuntime}} {{.ProcessLabel}} {{.SizeRootFs}}
{{.Config. {{.Driver}} {{.HostConfig. {{.Image}} {{.IsService}} {{.Namespace}} {{.Path}} {{.ResolvConfPath}} {{.SizeRw}}
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: