DockerCLI/cli/compose/loader
Sebastiaan van Stijn 40833fd296
cli/compose/loader: remove redundant capturing of loop vars (copyloopvar)
go1.22 and up now produce a unique variable in loops, tehrefore no longer
requiring to capture the variable manually;

    cli/compose/loader/merge.go:71:3: The copy of the 'for' variable "overrideService" can be deleted (Go 1.22+) (copyloopvar)
            overrideService := overrideService
            ^

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-11-05 10:14:32 +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 comments to go1.21 2024-06-18 12:17:13 +02:00
interpolate.go Allow for OomScoreAdj 2024-07-19 13:02:01 -04:00
loader.go Update go:build comments to go1.21 2024-06-18 12:17:13 +02:00
loader_test.go cli/compose: remove redundant capturing of loop vars in tests (copyloopvar) 2024-11-05 10:14:30 +01:00
merge.go cli/compose/loader: remove redundant capturing of loop vars (copyloopvar) 2024-11-05 10:14:32 +01:00
merge_test.go Update go:build comments to go1.21 2024-06-18 12:17:13 +02: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