DockerCLI/cli/command/node
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 replace uses of deprecated api/types that moved to api/types/system 2023-07-15 01:20:49 +02:00
cmd.go cli/command: remove some import aliases 2024-06-10 16:59:21 +02:00
demote.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
demote_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
formatter.go replace uses of deprecated api/types that moved to api/types/system 2023-07-15 01:20:49 +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
inspect_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
opts.go Add unused linter. 2017-06-14 16:54:27 -07:00
promote.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
promote_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
ps.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
ps_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 test spring-cleaning 2024-07-19 13:37:27 +02:00
update.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
update_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00