diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-01-19 08:47:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-19 08:47:37 -0500 |
commit | 8c6df5e93e6941a7f50da651678751f7dfec900e (patch) | |
tree | 11c249515e428afe98e353b497d2d6abd1ae7ca3 /pkg/bindings/test/pods_test.go | |
parent | 9a10f20bc1a8733f2a4025d4a1bca45aa31db0d7 (diff) | |
parent | 4ccb0729b4f0a25eb53f62c2f6ca7f8925f0fe4e (diff) | |
download | podman-8c6df5e93e6941a7f50da651678751f7dfec900e.tar.gz podman-8c6df5e93e6941a7f50da651678751f7dfec900e.tar.bz2 podman-8c6df5e93e6941a7f50da651678751f7dfec900e.zip |
Merge pull request #9004 from baude/existsoptions
Add binding options for container|pod exists
Diffstat (limited to 'pkg/bindings/test/pods_test.go')
-rw-r--r-- | pkg/bindings/test/pods_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/bindings/test/pods_test.go b/pkg/bindings/test/pods_test.go index 38c5997ef..058479c26 100644 --- a/pkg/bindings/test/pods_test.go +++ b/pkg/bindings/test/pods_test.go @@ -157,12 +157,12 @@ var _ = Describe("Podman pods", func() { // The test validates if the exists responds It("exists pod", func() { - response, err := pods.Exists(bt.conn, "dummyName") + response, err := pods.Exists(bt.conn, "dummyName", nil) Expect(err).To(BeNil()) Expect(response).To(BeFalse()) // Should exit with no error and response should be true - response, err = pods.Exists(bt.conn, "newpod") + response, err = pods.Exists(bt.conn, "newpod", nil) Expect(err).To(BeNil()) Expect(response).To(BeTrue()) }) @@ -338,7 +338,7 @@ var _ = Describe("Podman pods", func() { _, err := pods.CreatePodFromSpec(bt.conn, &ps, nil) Expect(err).To(BeNil()) - exists, err := pods.Exists(bt.conn, "foobar") + exists, err := pods.Exists(bt.conn, "foobar", nil) Expect(err).To(BeNil()) Expect(exists).To(BeTrue()) }) |