mirror of https://github.com/docker/cli.git
d3bf82db86
This command was using a custom "multi-error" implementation, but it
had some limitations, and the formatting wasn't great.
This patch replaces it with Go's errors.Join.
Before:
docker plugin remove one two three
Error response from daemon: plugin "one" not found, Error response from daemon: plugin "two" not found, Error response from daemon: plugin "three" not found
After:
docker plugin remove one two three
Error response from daemon: plugin "one" not found
Error response from daemon: plugin "two" not found
Error response from daemon: plugin "three" not found
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit
|
||
---|---|---|
.. | ||
testdata | ||
client_test.go | ||
cmd.go | ||
create.go | ||
create_test.go | ||
disable.go | ||
disable_test.go | ||
enable.go | ||
enable_test.go | ||
formatter.go | ||
formatter_test.go | ||
inspect.go | ||
inspect_test.go | ||
install.go | ||
install_test.go | ||
list.go | ||
list_test.go | ||
push.go | ||
remove.go | ||
remove_test.go | ||
set.go | ||
upgrade.go | ||
upgrade_test.go |