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

    service/logs/parse_logs_test.go:50:3: The copy of the 'for' variable "tc" can be deleted (Go 1.22+) (copyloopvar)
            tc := tc
            ^

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-11-05 10:14:30 +01:00
..
compose.go vendor: github.com/docker/docker 59996a493cfc (v27.0.0-dev) 2024-06-07 16:11:03 +02:00
compose_test.go vendor: github.com/docker/docker 59996a493cfc (v27.0.0-dev) 2024-06-07 16:11:03 +02:00
service.go Allow for OomScoreAdj 2024-07-19 13:02:01 -04:00
service_test.go cli/compose: remove redundant capturing of loop vars in tests (copyloopvar) 2024-11-05 10:14:30 +01:00
volume.go linting: Consider pre-allocating sliceVar (prealloc) 2023-11-20 16:02:16 +01:00
volume_test.go test/ Improve test coverage in volume.go 2024-03-20 19:53:33 +01:00