diff options
author | baude <bbaude@redhat.com> | 2019-02-23 19:36:19 -0600 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2019-02-25 09:10:09 -0600 |
commit | 43a1686598c92c9e2a839909b8b5edb9f1b0f00f (patch) | |
tree | e1fb43b63b951dd4f298e93edc868a3dcf2eb371 /cmd/podman/utils.go | |
parent | 4bf973a9f61eae3b02925a42ccfa784baeb917dc (diff) | |
download | podman-43a1686598c92c9e2a839909b8b5edb9f1b0f00f.tar.gz podman-43a1686598c92c9e2a839909b8b5edb9f1b0f00f.tar.bz2 podman-43a1686598c92c9e2a839909b8b5edb9f1b0f00f.zip |
podman-remote create|ps
enable the podman-remote client to be able to create and list
pods on a remote system.
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'cmd/podman/utils.go')
-rw-r--r-- | cmd/podman/utils.go | 2 |
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") } |