diff options
| author | Sebastiaan van Stijn <github@gone.nl> | 2019-11-01 16:11:35 +0100 |
|---|---|---|
| committer | Sebastiaan van Stijn <github@gone.nl> | 2022-08-03 23:30:28 +0200 |
| commit | 340711db3d9e9258ff6eeafa616e1bc72f8a07e6 (patch) | |
| tree | 22718483b560f7481aa7579558e44a236df033ed /integration/volume | |
| parent | e60bddcc603f876e58021e69b81acba5b15305e7 (diff) | |
| download | docker-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.go | 3 |
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) |
