DockerCLI/cli/compose/loader
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 Handle networks.driver_opts for a service 2024-06-07 08:20:43 +00:00
example1.env Import docker/docker/cli 2017-04-17 17:40:59 -04:00
example2.env Import docker/docker/cli 2017-04-17 17:40:59 -04:00
full-example.yml Handle networks.driver_opts for a service 2024-06-07 08:20:43 +00:00
full-struct_test.go update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
interpolate.go update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
loader.go update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
loader_test.go update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
merge.go update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
merge_test.go update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
types_test.go cli/compose/loader: use golden.Assert() for readability 2024-01-08 14:16:19 +01:00
volume.go fix panic on single-character volumes 2020-02-21 01:38:52 +01:00
volume_test.go cli/container: Don't ignore error when parsing volume spec 2023-07-12 09:45:55 +02:00
windows_path.go format (GoDoc) comments with Go 1.19 to prepare for go updates 2022-07-19 19:10:16 +02:00
windows_path_test.go compose/loader: fix TestIsAbs not testing all combinations 2019-10-29 15:02:23 +01:00