From b298f8f2cd2a013365e07651396817846cf31fc4 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 30 Mar 2023 16:41:08 +0200 Subject: [PATCH] cli/command/volume: remove name for unused arg (revive) cli/command/volume/prune_test.go:113:22: unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive) func simplePruneFunc(args filters.Args) (types.VolumesPruneReport, error) { ^ Signed-off-by: Sebastiaan van Stijn (cherry picked from commit 607f290f6572cf13f3623c253058158df0f42221) Signed-off-by: Sebastiaan van Stijn --- cli/command/volume/prune_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/command/volume/prune_test.go b/cli/command/volume/prune_test.go index c02a3be0b6..5a0a2ba5b3 100644 --- a/cli/command/volume/prune_test.go +++ b/cli/command/volume/prune_test.go @@ -169,7 +169,7 @@ func TestVolumePrunePromptNo(t *testing.T) { } } -func simplePruneFunc(args filters.Args) (types.VolumesPruneReport, error) { +func simplePruneFunc(filters.Args) (types.VolumesPruneReport, error) { return types.VolumesPruneReport{ VolumesDeleted: []string{ "foo", "bar", "baz",