summaryrefslogtreecommitdiff
path: root/pkg/bindings/test
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-03-23 09:12:04 -0500
committerBrent Baude <bbaude@redhat.com>2020-03-23 14:14:17 -0500
commit12e78155e1c119f0073a4c3e13486600897cadca (patch)
tree83f079048c6ca0507ff02089465464147e6ed3a1 /pkg/bindings/test
parent48b3143656bde2163025d43a8a9b2c88208ffee8 (diff)
downloadpodman-12e78155e1c119f0073a4c3e13486600897cadca.tar.gz
podman-12e78155e1c119f0073a4c3e13486600897cadca.tar.bz2
podman-12e78155e1c119f0073a4c3e13486600897cadca.zip
apiv2 container commit for libpod
add an endpoint for a libpod specific commit. add the abilility to define the format. also update documentation accordingly. Fixes: #5586 Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/bindings/test')
-rw-r--r--pkg/bindings/test/pods_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/bindings/test/pods_test.go b/pkg/bindings/test/pods_test.go
index 29cfcdbbc..e94048a9c 100644
--- a/pkg/bindings/test/pods_test.go
+++ b/pkg/bindings/test/pods_test.go
@@ -80,8 +80,7 @@ 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"
- trueFlag = true
+ newpod2 string = "newpod2"
)
bt.Podcreate(&newpod2)
_, err = bt.RunTopContainer(nil, &bindings.PTrue, &newpod)