diff options
author | Matthew Heon <matthew.heon@gmail.com> | 2018-07-24 18:23:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-24 18:23:41 -0400 |
commit | 561007d1f86e72f9c6fec0711158a0995db10526 (patch) | |
tree | d142b2462dd0c9c4cee840ae28c86a92056e7544 | |
parent | e43270fc5e594fdb77f9a22f0042105824485e62 (diff) | |
parent | 8e145d9c9a87fcf1a712bea80ab784c0b4e750cf (diff) | |
download | podman-561007d1f86e72f9c6fec0711158a0995db10526.tar.gz podman-561007d1f86e72f9c6fec0711158a0995db10526.tar.bz2 podman-561007d1f86e72f9c6fec0711158a0995db10526.zip |
Merge pull request #1153 from jwhonce/bug/psgo
Fix varlink API usage of psgo
-rw-r--r-- | pkg/varlinkapi/containers.go | 2 |
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 } |