mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-17 19:37:32 +00:00
Merge pull request #19312 from sg2342/freebsd-remote-top
libpod: fix FreeBSD 'podman-remote top' default behaviour
This commit is contained in:
commit
5f90fbcdc1
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ func (c *Container) Top(descriptors []string) ([]string, error) {
|
|||
}
|
||||
|
||||
// Default to 'ps -ef' compatible descriptors
|
||||
if len(descriptors) == 0 {
|
||||
if len(strings.Join(descriptors, "")) == 0 {
|
||||
descriptors = []string{"user", "pid", "ppid", "pcpu", "etime", "tty", "time", "args"}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue