summaryrefslogtreecommitdiff
path: root/cmd/podman/utils.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-25 21:57:42 +0100
committerGitHub <noreply@github.com>2019-02-25 21:57:42 +0100
commitcf521449e5d11813571c5e9b86668fbefdd5aa99 (patch)
tree59fd18a92ea2bc40cb3cf16c9cd6a0f178b74e65 /cmd/podman/utils.go
parente45c44208067f4ac26c5136842d5a17478f5234c (diff)
parent43a1686598c92c9e2a839909b8b5edb9f1b0f00f (diff)
downloadpodman-cf521449e5d11813571c5e9b86668fbefdd5aa99.tar.gz
podman-cf521449e5d11813571c5e9b86668fbefdd5aa99.tar.bz2
podman-cf521449e5d11813571c5e9b86668fbefdd5aa99.zip
Merge pull request #2422 from baude/remotepodcreate
podman-remote create|ps
Diffstat (limited to 'cmd/podman/utils.go')
-rw-r--r--cmd/podman/utils.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/utils.go b/cmd/podman/utils.go
index 0fbea417b..4ec0f8a13 100644
--- a/cmd/podman/utils.go
+++ b/cmd/podman/utils.go
@@ -172,7 +172,7 @@ func getPodsFromContext(c *cliconfig.PodmanCommand, r *libpod.Runtime) ([]*libpo
var err error
if c.Bool("all") {
- pods, err = r.Pods()
+ pods, err = r.GetAllPods()
if err != nil {
return nil, errors.Wrapf(err, "unable to get running pods")
}