diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-03-21 14:48:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-21 14:48:50 +0100 |
commit | 89a3e5979b5f247e83a1723c7f355983fa7c7a86 (patch) | |
tree | b984a7371d05de8713df0f662eca8a33935f9c30 /libpod/container_top_unsupported.go | |
parent | 195a82ffbc435716ef5bb69f6eefa333abe3f840 (diff) | |
parent | de7bcca7d5b0129329b6b08fd241cdc1a768bafb (diff) | |
download | podman-89a3e5979b5f247e83a1723c7f355983fa7c7a86.tar.gz podman-89a3e5979b5f247e83a1723c7f355983fa7c7a86.tar.bz2 podman-89a3e5979b5f247e83a1723c7f355983fa7c7a86.zip |
Merge pull request #5579 from mtrmac/macOS-unit-tests
Make macOS unit tests runnable
Diffstat (limited to 'libpod/container_top_unsupported.go')
-rw-r--r-- | libpod/container_top_unsupported.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libpod/container_top_unsupported.go b/libpod/container_top_unsupported.go index 382c98b54..12f6cbb6c 100644 --- a/libpod/container_top_unsupported.go +++ b/libpod/container_top_unsupported.go @@ -4,6 +4,12 @@ package libpod import "github.com/containers/libpod/libpod/define" +// Top gathers statistics about the running processes in a container. It returns a +// []string for output +func (c *Container) Top(descriptors []string) ([]string, error) { + return nil, define.ErrNotImplemented +} + // GetContainerPidInformation returns process-related data of all processes in // the container. The output data can be controlled via the `descriptors` // argument which expects format descriptors and supports all AIXformat |