mirror of
https://github.com/containers/podman.git
synced 2026-10-24 18:59:09 -04:00
Fix varlink API usage of psgo
Signed-off-by: Jhon Honce <jhonce@redhat.com>
This commit is contained in:
1 parent
6715bffaf6
commit
8e145d9c9a
1 file changed
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user