mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
commita0807e7cfeconfigured golangci-lint to use go1.23 semantics, which alowed linters like `copyloopvar` to lint using thee correct semantics. 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 commitb453aa65fa) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>