DockerCLI/cli/command
Laura Brehm 024b3c1e9b
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:56:38 +00:00
..
builder Plumb contexts through commands 2023-12-12 22:30:16 +01:00
checkpoint Plumb contexts through commands 2023-12-12 22:30:16 +01:00
commands remove exec, push, pull, ps, images, info from "legacy" commands 2022-04-08 16:55:39 +02:00
completion vendor: github.com/docker/docker cdb3f9fb8dca (v25.0.0-dev) 2023-10-13 22:09:04 +02:00
config add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
container cli/command/container: parseSecurityOpts: fix --security-opt seccomp=builtin 2024-01-05 12:19:00 +01:00
context add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
formatter add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
idresolver add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
image vendor: github.com/docker/docker 25.0.4-51e876cd96 2024-03-04 12:58:21 +01:00
inspect add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
manifest Plumb contexts through commands 2023-12-12 22:30:16 +01:00
network add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
node add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
plugin add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
registry Plumb contexts through commands 2023-12-12 22:30:16 +01:00
secret add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
service add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
stack add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
swarm Plumb contexts through commands 2023-12-12 22:30:16 +01:00
system vendor: github.com/docker/docker 388216fc45ab (v25.0.0-dev) 2023-12-19 20:11:21 +01:00
task linting: address slice-append issues found by gocritic 2023-11-20 16:02:17 +01:00
testdata Dynamically register kubernetes context store endpoint type. 2019-05-20 13:28:11 +01:00
trust add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
volume volume/update: require 1 argument/fix panic 2024-10-08 04:56:38 +00:00
cli.go add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
cli_options.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
cli_options_test.go golangci-lint: enable thelper linter 2023-11-20 16:02:17 +01:00
cli_test.go cli/command: initialize client and load content lazily 2022-11-28 16:52:02 +01:00
context.go add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
context_test.go add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
defaultcontextstore.go add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
defaultcontextstore_test.go add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
events_utils.go vendor: github.com/docker/docker 7abd7fa73965 (v25.0.0-dev) 2023-09-05 13:43:35 +02:00
registry.go migrate reference github.com/distribution/reference 2023-09-05 17:53:20 +02:00
registry_test.go cli/command: remove dot-imports and unhandled errors 2023-10-23 15:21:47 +02:00
trust.go Refactor content_trust cli/flags handling 2018-03-08 15:00:43 -05:00
utils.go add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
utils_test.go format go with gofumpt (with -lang=1.19) 2022-09-30 19:14:36 +02:00