summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorhaircommander <pehunt@redhat.com>2018-08-20 18:29:44 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-08-21 14:34:08 +0000
commit021027a24b7b6906a2d7ed86c67e34167bc26284 (patch)
treed4f4aeaca4dce8a7fb776d22dea8e29f4b13dec4 /cmd/podman
parent7e94fbb4936d189cd79e2159859f0f8aa02584e6 (diff)
downloadpodman-021027a24b7b6906a2d7ed86c67e34167bc26284.tar.gz
podman-021027a24b7b6906a2d7ed86c67e34167bc26284.tar.bz2
podman-021027a24b7b6906a2d7ed86c67e34167bc26284.zip
Enable pod stats with short ID and name
Signed-off-by: haircommander <pehunt@redhat.com> Closes: #1307 Approved by: rhatdan
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/pod_stats.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/pod_stats.go b/cmd/podman/pod_stats.go
index e46c728ab..ae371da6f 100644
--- a/cmd/podman/pod_stats.go
+++ b/cmd/podman/pod_stats.go
@@ -228,7 +228,7 @@ func getPodsByList(podList []string, r *libpod.Runtime) ([]*libpod.Pod, error) {
pods []*libpod.Pod
)
for _, p := range podList {
- pod, err := r.GetPod(p)
+ pod, err := r.LookupPod(p)
if err != nil {
return nil, err
}