DockerCLI/cli/command/network
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 formatter: reduce minimum width for columns in table-view 2020-08-31 16:31:15 +02:00
client_test.go vendor: github.com/docker/docker 59996a493cfc (v27.0.0-dev) 2024-06-07 16:11:03 +02:00
cmd.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
connect.go linting: fmt.Errorf can be replaced with errors.New (perfsprint) 2024-06-10 21:19:31 +02:00
connect_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
create.go vendor: github.com/docker/docker 59996a493cfc (v27.0.0-dev) 2024-06-07 16:11:03 +02:00
create_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
disconnect.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
disconnect_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
formatter.go vendor: github.com/docker/docker c6aaabc9fc82 (master / v27.0.0-dev) 2024-06-05 16:29:55 +02: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
list.go vendor: github.com/docker/docker cd3804655a25 (master / v27.0.0-dev) 2024-06-04 09:17:20 +02:00
list_test.go test spring-cleaning 2024-07-19 13:37:27 +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 vendor: github.com/docker/docker e622cea55698 (master / v27.0.0-dev) 2024-05-31 17:39:37 +02:00
remove_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00