diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-12-16 14:04:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-16 14:04:11 +0000 |
commit | 978c0767fa72abfa41f720f6fab34a62e3ac7a12 (patch) | |
tree | 0f70b9aa485fc18a12f9811a234a4e660b24ab16 /pkg/bindings/test/info_test.go | |
parent | f1f7b8f6c80916bc88f5a01137e0d9fd971f8ac1 (diff) | |
parent | 8d4e19634cf73f257ca7f5d2c9506183f6a5b183 (diff) | |
download | podman-978c0767fa72abfa41f720f6fab34a62e3ac7a12.tar.gz podman-978c0767fa72abfa41f720f6fab34a62e3ac7a12.tar.bz2 podman-978c0767fa72abfa41f720f6fab34a62e3ac7a12.zip |
Merge pull request #8715 from baude/bindings3images
Podman image bindings for 3.0
Diffstat (limited to 'pkg/bindings/test/info_test.go')
-rw-r--r-- | pkg/bindings/test/info_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/bindings/test/info_test.go b/pkg/bindings/test/info_test.go index 6cd5d6724..735de25b8 100644 --- a/pkg/bindings/test/info_test.go +++ b/pkg/bindings/test/info_test.go @@ -17,7 +17,6 @@ var _ = Describe("Podman info", func() { var ( bt *bindingTest s *gexec.Session - t bool = true ) BeforeEach(func() { @@ -39,7 +38,8 @@ var _ = Describe("Podman info", func() { Expect(err).To(BeNil()) Expect(info.Host.Arch).To(Equal(runtime.GOARCH)) Expect(info.Host.OS).To(Equal(runtime.GOOS)) - i, err := images.List(bt.conn, &t, nil) + listOptions := new(images.ListOptions) + i, err := images.List(bt.conn, listOptions.WithAll(true)) Expect(err).To(BeNil()) Expect(info.Store.ImageStore.Number).To(Equal(len(i))) }) |