summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-07-12 10:57:56 -0400
committerGitHub <noreply@github.com>2021-07-12 10:57:56 -0400
commitfe0bb28e68fc8b0870301956482ac7e93ac49fda (patch)
treeace5084ea75b4d94555d62e892fc85544c9f8906 /cmd
parent788c2d136b91f1d714e4665ecd41ea452c72eba0 (diff)
parent6bdb990c9e4d9d881854cca3bd74be37bf660adb (diff)
downloadpodman-fe0bb28e68fc8b0870301956482ac7e93ac49fda.tar.gz
podman-fe0bb28e68fc8b0870301956482ac7e93ac49fda.tar.bz2
podman-fe0bb28e68fc8b0870301956482ac7e93ac49fda.zip
Merge pull request #10896 from hshiina/pod-ps
Restore headers of optional information in 'podman pod ps'
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/pods/ps.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/podman/pods/ps.go b/cmd/podman/pods/ps.go
index 3e5ab86f4..14e3e2ea9 100644
--- a/cmd/podman/pods/ps.go
+++ b/cmd/podman/pods/ps.go
@@ -124,6 +124,11 @@ func pods(cmd *cobra.Command, _ []string) error {
"NumberOfContainers": "# OF CONTAINERS",
"Created": "CREATED",
"InfraID": "INFRA ID",
+ "ContainerIds": "IDS",
+ "ContainerNames": "NAMES",
+ "ContainerStatuses": "STATUS",
+ "Cgroup": "CGROUP",
+ "Namespace": "NAMESPACES",
})
renderHeaders := true
row := podPsFormat()