summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-10-05 12:11:41 +0200
committerGitHub <noreply@github.com>2020-10-05 12:11:41 +0200
commita9d572f40f006a69b9d0634afea142d37c071474 (patch)
treeb77c5a60e53e0173ad2840e4c0cb21792cbe8dbc /cmd
parent7353000a06f3636515ebcd3b79ca8309db48b693 (diff)
parent4a2c4c3989938ebc25a2d0d902aff51aaa5b6c45 (diff)
downloadpodman-a9d572f40f006a69b9d0634afea142d37c071474.tar.gz
podman-a9d572f40f006a69b9d0634afea142d37c071474.tar.bz2
podman-a9d572f40f006a69b9d0634afea142d37c071474.zip
Merge pull request #7909 from zhangguanzhang/remote-ps-ns-broken
Fix podman-remote ps --ns broken
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/containers/ps.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/containers/ps.go b/cmd/podman/containers/ps.go
index a78b35c08..c4c8b60f3 100644
--- a/cmd/podman/containers/ps.go
+++ b/cmd/podman/containers/ps.go
@@ -240,7 +240,7 @@ func ps(cmd *cobra.Command, args []string) error {
func createPsOut() (string, string) {
var row string
if listOpts.Namespace {
- headers := "CONTAINER ID\tNAMES\tPID\tCGROUPNS\tIPC\tMNT\tNET\tPIDN\tUSERNS\tUTS\n"
+ headers := "CONTAINER ID\tNAMES\tPID\tCGROUPNS\tIPC\tMNT\tNET\tPIDNS\tUSERNS\tUTS\n"
row := "{{.ID}}\t{{.Names}}\t{{.Pid}}\t{{.Namespaces.Cgroup}}\t{{.Namespaces.IPC}}\t{{.Namespaces.MNT}}\t{{.Namespaces.NET}}\t{{.Namespaces.PIDNS}}\t{{.Namespaces.User}}\t{{.Namespaces.UTS}}\n"
return headers, row
}