aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2018-07-24 12:06:16 -0700
committerJhon Honce <jhonce@redhat.com>2018-07-24 12:06:16 -0700
commit8e145d9c9a87fcf1a712bea80ab784c0b4e750cf (patch)
tree7fa0609c5e503c6e4b3102c043d6c16e19537149 /pkg
parent6715bffaf6a858df9539d6e48e2c1b634364f83e (diff)
downloadpodman-8e145d9c9a87fcf1a712bea80ab784c0b4e750cf.tar.gz
podman-8e145d9c9a87fcf1a712bea80ab784c0b4e750cf.tar.bz2
podman-8e145d9c9a87fcf1a712bea80ab784c0b4e750cf.zip
Fix varlink API usage of psgo
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/varlinkapi/containers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/varlinkapi/containers.go b/pkg/varlinkapi/containers.go
index 6678b6f7a..1d2379355 100644
--- a/pkg/varlinkapi/containers.go
+++ b/pkg/varlinkapi/containers.go
@@ -110,7 +110,7 @@ func (i *LibpodAPI) ListContainerProcesses(call ioprojectatomicpodman.VarlinkCal
return call.ReplyErrorOccurred(fmt.Sprintf("container %s is not running", name))
}
var psArgs []string
- psOpts := []string{"-o", "uid,pid,ppid,c,stime,tname,time,cmd"}
+ psOpts := []string{"user", "pid", "ppid", "pcpu", "etime", "tty", "time", "comm"}
if len(opts) > 1 {
psOpts = opts
}