summaryrefslogtreecommitdiff
path: root/pkg/bindings/test/volumes_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-12-21 15:00:22 -0500
committerGitHub <noreply@github.com>2020-12-21 15:00:22 -0500
commit182646b01a4544902c9fdf9326889a0ced7d9a8e (patch)
treed37e89ca4c27877098a4136910db68158e71d855 /pkg/bindings/test/volumes_test.go
parent076f77b964329c830664b4d6fa3234f608f07591 (diff)
parent401dcff8389e10c6fd88ad34f82daccb8f800d3f (diff)
downloadpodman-182646b01a4544902c9fdf9326889a0ced7d9a8e.tar.gz
podman-182646b01a4544902c9fdf9326889a0ced7d9a8e.tar.bz2
podman-182646b01a4544902c9fdf9326889a0ced7d9a8e.zip
Merge pull request #8775 from baude/bindings3cons
podman v3 container bindings
Diffstat (limited to 'pkg/bindings/test/volumes_test.go')
-rw-r--r--pkg/bindings/test/volumes_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/bindings/test/volumes_test.go b/pkg/bindings/test/volumes_test.go
index 0664a99e4..e0d854b66 100644
--- a/pkg/bindings/test/volumes_test.go
+++ b/pkg/bindings/test/volumes_test.go
@@ -102,8 +102,7 @@ var _ = Describe("Podman volumes", func() {
Expect(code).To(BeNumerically("==", http.StatusConflict))
// Removing with a volume in use with force should work with a stopped container
- zero := uint(0)
- err = containers.Stop(connText, "vtest", &zero)
+ err = containers.Stop(connText, "vtest", new(containers.StopOptions).WithTimeout(0))
Expect(err).To(BeNil())
options := new(volumes.RemoveOptions).WithForce(true)
err = volumes.Remove(connText, vol.Name, options)