DockerCLI/cli/context/store
Sebastiaan van Stijn 7c80e4f938
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>
2024-11-12 12:38:18 +01:00
..
doc.go format (GoDoc) comments with Go 1.19 to prepare for go updates 2022-07-19 19:10:16 +02:00
io_utils.go Introduce .zip import for docker context 2019-05-29 12:58:45 -07:00
io_utils_test.go cli/context: remove deprecated io/ioutil and use t.TempDir() 2022-02-25 15:42:16 +01:00
metadata_test.go update go:build tags to use go1.22 2024-11-12 12:38:18 +01:00
metadatastore.go update go:build tags to use go1.22 2024-11-12 12:38:18 +01:00
store.go update go:build tags to use go1.22 2024-11-12 12:38:18 +01:00
store_test.go update go:build tags to use go1.22 2024-11-12 12:38:18 +01:00
storeconfig.go update go:build tags to use go1.22 2024-11-12 12:38:18 +01:00
storeconfig_test.go update go:build tags to use go1.22 2024-11-12 12:38:18 +01:00
tlsstore.go context: avoid corrupt file writes 2023-02-21 10:37:56 -05:00
tlsstore_test.go cli/context/store: rename removeAllContextData(), removeAllEndpointData() 2022-09-30 11:19:26 +02:00