DockerCLI/cli/command/stack/loader
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
..
loader.go update go:build tags to use go1.22 2024-11-12 12:38:18 +01:00
loader_test.go stack/loader: Ignore cmd.exe special env variables 2023-03-09 16:48:55 +01:00