summaryrefslogtreecommitdiff
path: root/testutil
diff options
context:
space:
mode:
authorTianon Gravi <admwiggin@gmail.com>2021-06-02 10:41:47 -0700
committerGitHub <noreply@github.com>2021-06-02 10:41:47 -0700
commite58ca15d4825e6a3cdf9c7df89c0cc86327c454b (patch)
treeb420e4f10eae803966832e808327763906836787 /testutil
parent026eab028cf427df463fe97eb36007bab3e69d12 (diff)
parent4d3f64da6348c20f57efe01ca483b130bcf5dd9b (diff)
downloaddocker-e58ca15d4825e6a3cdf9c7df89c0cc86327c454b.tar.gz
Merge pull request #42098 from thaJeztah/deprecate_quiet
API-client: remove unused ContainerListOptions.Quiet field
Diffstat (limited to 'testutil')
-rw-r--r--testutil/environment/clean.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/testutil/environment/clean.go b/testutil/environment/clean.go
index 23d434f0bd..415615e877 100644
--- a/testutil/environment/clean.go
+++ b/testutil/environment/clean.go
@@ -50,7 +50,6 @@ func getPausedContainers(ctx context.Context, t testing.TB, client client.Contai
filter.Add("status", "paused")
containers, err := client.ContainerList(ctx, types.ContainerListOptions{
Filters: filter,
- Quiet: true,
All: true,
})
assert.Check(t, err, "failed to list containers")
@@ -85,8 +84,7 @@ func deleteAllContainers(t testing.TB, apiclient client.ContainerAPIClient, prot
func getAllContainers(ctx context.Context, t testing.TB, client client.ContainerAPIClient) []types.Container {
t.Helper()
containers, err := client.ContainerList(ctx, types.ContainerListOptions{
- Quiet: true,
- All: true,
+ All: true,
})
assert.Check(t, err, "failed to list containers")
return containers