From ab1aeedb27af56b3d5c29c4c95a748e98c386469 Mon Sep 17 00:00:00 2001 From: Silvin Lubecki Date: Tue, 2 Apr 2019 13:25:33 +0200 Subject: [PATCH] cli/command/plugin/list_test.go:61:31: `TestList$1` - `filter` is unused (unparam) Signed-off-by: Silvin Lubecki --- cli/command/plugin/list_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/command/plugin/list_test.go b/cli/command/plugin/list_test.go index fbde655316..75d0c8139c 100644 --- a/cli/command/plugin/list_test.go +++ b/cli/command/plugin/list_test.go @@ -58,7 +58,7 @@ func TestListErrors(t *testing.T) { } func TestList(t *testing.T) { - singlePluginListFunc := func(filter filters.Args) (types.PluginsListResponse, error) { + singlePluginListFunc := func(_ filters.Args) (types.PluginsListResponse, error) { return types.PluginsListResponse{ { ID: "id-foo", @@ -113,7 +113,7 @@ func TestList(t *testing.T) { "format": "{{ .ID }}", }, golden: "plugin-list-with-no-trunc-option.golden", - listFunc: func(filter filters.Args) (types.PluginsListResponse, error) { + listFunc: func(_ filters.Args) (types.PluginsListResponse, error) { return types.PluginsListResponse{ { ID: "xyg4z2hiSLO5yTnBJfg4OYia9gKA6Qjd", @@ -142,7 +142,7 @@ func TestList(t *testing.T) { "format": "{{ .Name }}", }, golden: "plugin-list-sort.golden", - listFunc: func(filter filters.Args) (types.PluginsListResponse, error) { + listFunc: func(_ filters.Args) (types.PluginsListResponse, error) { return types.PluginsListResponse{ { ID: "id-1",