diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-12-29 12:16:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-29 12:16:43 +0100 |
commit | 9e03aa14b63f9351926071ba0a8b7064154cb0fe (patch) | |
tree | 59a63f7bf23d72f3a3ad65d968edb5457f91602a /libpod | |
parent | fa551fd16d20d8a427cb988feb8428c91827a21d (diff) | |
parent | 8bc394ce6ec597f3c5bfb0fab5eb39b51afbe67d (diff) | |
download | podman-9e03aa14b63f9351926071ba0a8b7064154cb0fe.tar.gz podman-9e03aa14b63f9351926071ba0a8b7064154cb0fe.tar.bz2 podman-9e03aa14b63f9351926071ba0a8b7064154cb0fe.zip |
Merge pull request #4748 from NevilleC/nc-podname
[Issue #4703] Add the pod name when we use `podman ps -p`
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/runtime_ctr.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/runtime_ctr.go b/libpod/runtime_ctr.go index 3cf70f417..51efc5996 100644 --- a/libpod/runtime_ctr.go +++ b/libpod/runtime_ctr.go @@ -768,7 +768,7 @@ func (r *Runtime) GetContainers(filters ...ContainerFilter) ([]*Container, error return nil, define.ErrRuntimeStopped } - ctrs, err := r.state.AllContainers() + ctrs, err := r.GetAllContainers() if err != nil { return nil, err } |