DockerCLI/cli/command/plugin
Sebastiaan van Stijn 3df40364f6
update go:build tags to use go1.22
commit 4a7b04d412 configured golangci-lint
to use go1.23 semantics, which enabled the copyloopvar linter.

go1.22 now creates a copy of variables when assigned in a loop; make sure we
don't have files that may downgrade semantics to go1.21 in case that also means
disabling that feature; https://go.dev/ref/spec#Go_1.22

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 7c80e4f938)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-11-15 11:10:35 +01:00
..
testdata feat: standardize error for prompt 2024-03-26 14:11:55 +01:00
client_test.go fix: cli prompt termination exit code 2024-03-04 15:26:17 +01:00
cmd.go Update gometalinter 2017-10-26 12:21:02 -04:00
create.go Dockerfile: update mvdan/gofumpt to v0.6.0 2024-03-17 13:48:13 +01:00
create_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
disable.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
disable_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
enable.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
enable_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
formatter.go linting: address assorted issues found by gocritic 2023-11-20 16:02:16 +01:00
formatter_test.go update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
inspect.go update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
inspect_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
install.go Plumb context to API callbacks 2024-05-17 14:39:49 +02:00
install_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
list.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
list_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
push.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
remove.go cli/command/plugins: use errors.Join instead of custom cli.Errors 2024-10-19 10:36:33 +02:00
remove_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
set.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
upgrade.go chore: remove backticks and resolve linting issues 2024-04-02 15:54:29 +02:00
upgrade_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00