DockerCLI/cli/command/volume
Laura Brehm 23a8d38e25
volume/update: require 1 argument/fix panic
This command was declaring that it requires at least 1 argument, when it
needs exactly 1 argument. This was causing the CLI to panic when the
command was invoked with no argument:

`docker volume update`

Signed-off-by: Laura Brehm <laurabrehm@hey.com>
(cherry picked from commit daea277ee8)
Signed-off-by: Austin Vazquez <macedonv@amazon.com>
2024-10-08 04:53:08 +00:00
..
testdata feat: standardize error for prompt 2024-03-26 14:11:55 +01:00
client_test.go vendor: github.com/docker/docker master (v24.0.0-dev) 2023-03-30 19:56:28 +02:00
cmd.go Add cluster volume support 2022-05-13 20:06:11 +02:00
create.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
create_test.go cli/command/volume: suppress err output in tests 2023-03-21 13:21:20 +01:00
inspect.go add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
inspect_test.go cli/command: remove dot-imports and unhandled errors 2023-10-23 15:21:47 +02:00
list.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
list_test.go cli/command: remove dot-imports and unhandled errors 2023-10-23 15:21:47 +02:00
prune.go chore: remove backticks and resolve linting issues 2024-04-02 15:54:29 +02:00
prune_test.go chore: remove backticks and resolve linting issues 2024-04-02 15:54:29 +02:00
remove.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
remove_test.go cli/command/volume: suppress err output in tests 2023-03-21 13:21:20 +01:00
update.go volume/update: require 1 argument/fix panic 2024-10-08 04:53:08 +00:00
update_test.go volume/update: require 1 argument/fix panic 2024-10-08 04:53:08 +00:00