mirror of https://github.com/docker/cli.git
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 <github@gone.nl>
(cherry picked from commit 607f290f65
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
8cbad756d9
commit
b298f8f2cd
|
@ -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{
|
return types.VolumesPruneReport{
|
||||||
VolumesDeleted: []string{
|
VolumesDeleted: []string{
|
||||||
"foo", "bar", "baz",
|
"foo", "bar", "baz",
|
||||||
|
|
Loading…
Reference in New Issue