summaryrefslogtreecommitdiff
path: root/pkg/bindings/test/pods_test.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-03-20 06:45:45 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-03-20 09:09:42 -0400
commit8ab686f0e08d90f0353648446ae49cd4ba85cdfb (patch)
tree7be4d44b0a7a01d40a5ef370bf99b15a791a9f1b /pkg/bindings/test/pods_test.go
parentccc30c606e843d5c98e2c62a3b393a61e60976b2 (diff)
downloadpodman-8ab686f0e08d90f0353648446ae49cd4ba85cdfb.tar.gz
podman-8ab686f0e08d90f0353648446ae49cd4ba85cdfb.tar.bz2
podman-8ab686f0e08d90f0353648446ae49cd4ba85cdfb.zip
Add APIV2 service files
Also fix issue in pods_test.go Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg/bindings/test/pods_test.go')
-rw-r--r--pkg/bindings/test/pods_test.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/bindings/test/pods_test.go b/pkg/bindings/test/pods_test.go
index fae1deca4..d7334e0e5 100644
--- a/pkg/bindings/test/pods_test.go
+++ b/pkg/bindings/test/pods_test.go
@@ -79,7 +79,10 @@ var _ = Describe("Podman pods", func() {
// The test validates the list pod endpoint with passing filters as the params.
It("List pods with filters", func() {
- var newpod2 string = "newpod2"
+ var (
+ newpod2 string = "newpod2"
+ trueFlag = true
+ )
bt.Podcreate(&newpod2)
_, err = bt.RunTopContainer(nil, &trueFlag, &newpod)
Expect(err).To(BeNil())