summaryrefslogtreecommitdiff
path: root/integration/volume
diff options
context:
space:
mode:
authorSebastiaan van Stijn <github@gone.nl>2019-11-01 16:11:35 +0100
committerSebastiaan van Stijn <github@gone.nl>2022-08-03 23:30:28 +0200
commit340711db3d9e9258ff6eeafa616e1bc72f8a07e6 (patch)
tree22718483b560f7481aa7579558e44a236df033ed /integration/volume
parente60bddcc603f876e58021e69b81acba5b15305e7 (diff)
downloaddocker-340711db3d9e9258ff6eeafa616e1bc72f8a07e6.tar.gz
api: add types/volume.ListOptions for a more consistent API
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Diffstat (limited to 'integration/volume')
-rw-r--r--integration/volume/volume_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/integration/volume/volume_test.go b/integration/volume/volume_test.go
index 278c2eb93b..76620596a1 100644
--- a/integration/volume/volume_test.go
+++ b/integration/volume/volume_test.go
@@ -9,7 +9,6 @@ import (
"time"
"github.com/docker/docker/api/types"
- "github.com/docker/docker/api/types/filters"
"github.com/docker/docker/api/types/volume"
"github.com/docker/docker/integration/internal/container"
"github.com/docker/docker/testutil/request"
@@ -43,7 +42,7 @@ func TestVolumesCreateAndList(t *testing.T) {
}
assert.Check(t, is.DeepEqual(vol, expected, cmpopts.EquateEmpty()))
- volList, err := client.VolumeList(ctx, filters.Args{})
+ volList, err := client.VolumeList(ctx, volume.ListOptions{})
assert.NilError(t, err)
assert.Assert(t, len(volList.Volumes) > 0)