DockerCLI/cli/command/network
Sebastiaan van Stijn 3882e674e4
cli/command: RunPrune(): remove name for unused "all" parameter (revive)
These functions must have the same signature, but only some of them accept
an "all" boolean argument;
88924b1802/cli/command/system/prune.go (L79)

    cli/command/container/prune.go:78:38: unused-parameter: parameter 'all' seems to be unused, consider removing or renaming it as _ (revive)
    func RunPrune(dockerCli command.Cli, all bool, filter opts.FilterOpt) (uint64, string, error) {
                                         ^
    cli/command/network/prune.go:73:38: unused-parameter: parameter 'all' seems to be unused, consider removing or renaming it as _ (revive)
    func RunPrune(dockerCli command.Cli, all bool, filter opts.FilterOpt) (uint64, string, error) {
                                         ^
    cli/command/volume/prune.go:78:38: unused-parameter: parameter 'all' seems to be unused, consider removing or renaming it as _ (revive)
    func RunPrune(dockerCli command.Cli, all bool, filter opts.FilterOpt) (uint64, string, error) {
                                         ^

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit c3d7f167bd)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-07-15 15:20:50 +02:00
..
testdata formatter: reduce minimum width for columns in table-view 2020-08-31 16:31:15 +02:00
client_test.go Add --force option to network rm subcommand 2022-04-29 13:56:33 +02:00
cmd.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
connect.go cmd: set double quotes as code delimiter 2023-01-06 19:15:33 +01:00
connect_test.go cli/command/context: remove deprecated io/ioutil 2022-02-25 15:42:05 +01:00
create.go format code with gofumpt 2022-09-30 11:59:11 +02:00
create_test.go format code with gofumpt 2022-09-30 11:59:11 +02:00
disconnect.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
disconnect_test.go cli/command/context: remove deprecated io/ioutil 2022-02-25 15:42:05 +01:00
formatter.go formatter package heavy refactoring 2018-10-23 17:05:44 +02:00
formatter_test.go format code with gofumpt 2022-09-30 11:59:11 +02:00
inspect.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
list.go cmd: set double quotes as code delimiter 2023-01-06 19:15:33 +01:00
list_test.go format code with gofumpt 2022-09-30 11:59:11 +02:00
prune.go cli/command: RunPrune(): remove name for unused "all" parameter (revive) 2023-07-15 15:20:50 +02:00
remove.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
remove_test.go Add --force option to network rm subcommand 2022-04-29 13:56:33 +02:00