diff options
author | Jhon Honce <jhonce@redhat.com> | 2021-03-30 10:42:06 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2021-03-30 10:42:06 -0700 |
commit | eef66973de4738536810be71b91e3503e7aa5183 (patch) | |
tree | 4d71adeee14ebb4a2f41120e2333f771d5d82c8d /cmd/podman/pods/top.go | |
parent | f7ad9fbd9e334b5daf9f3af9160cc8fab82255d6 (diff) | |
download | podman-eef66973de4738536810be71b91e3503e7aa5183.tar.gz podman-eef66973de4738536810be71b91e3503e7aa5183.tar.bz2 podman-eef66973de4738536810be71b91e3503e7aa5183.zip |
Trim white space from /top endpoint results
Versions of the ps command have additional spaces between fields, this
manifests as the container asking to run "top" and API reporting "top "
as a process.
Endpoint and tests updated to check that "top" is reported.
There is no libpod specialized endpoint to update.
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'cmd/podman/pods/top.go')
0 files changed, 0 insertions, 0 deletions