DockerCLI/cli/command/volume
Laura Brehm c65ac2d90d
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: Sebastiaan van Stijn <github@gone.nl>
2024-09-11 13:12:54 +02:00
..
testdata feat: standardize error for prompt 2024-03-26 14:11:55 +01:00
client_test.go vendor: github.com/docker/docker a736d0701c41 (master, v27.0.0-dev) 2024-06-10 17:41:09 +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 Update go:build comments to go1.21 2024-06-18 12:17:13 +02: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 test spring-cleaning 2024-07-19 13:37:27 +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-09-11 13:12:54 +02:00
update_test.go volume/update: require 1 argument/fix panic 2024-09-11 13:12:54 +02:00