diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-05-07 21:02:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-07 21:02:21 +0200 |
commit | 2e40bdebfd245ff04e86b1ea42f663087d97fccf (patch) | |
tree | 692e064dd2675afd75e01fa64548be8f52076cb6 /cmd | |
parent | 7b67c9601e1eab6c881ac44503c285c71b0a4a3a (diff) | |
parent | 2dfb744d8cae8e324676efcd845055f3cb0353bb (diff) | |
download | podman-2e40bdebfd245ff04e86b1ea42f663087d97fccf.tar.gz podman-2e40bdebfd245ff04e86b1ea42f663087d97fccf.tar.bz2 podman-2e40bdebfd245ff04e86b1ea42f663087d97fccf.zip |
Merge pull request #3080 from baude/remotepsnamespace
fix podman-remote ps --ns
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/podman/ps.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/ps.go b/cmd/podman/ps.go index 623f17050..eb5181126 100644 --- a/cmd/podman/ps.go +++ b/cmd/podman/ps.go @@ -497,7 +497,7 @@ func psDisplay(c *cliconfig.PsValues, runtime *adapter.LocalRuntime) error { } else { // Print namespace information - ns := shared.GetNamespaces(container.Pid) + ns := runtime.GetNamespaces(container) fmt.Fprintf(w, "\n%s\t%s\t%d\t%s\t%s\t%s\t%s\t%s\t%s\t%s", container.ID, container.Names, container.Pid, ns.Cgroup, ns.IPC, ns.MNT, ns.NET, ns.PIDNS, ns.User, ns.UTS) } |