mirror of
https://github.com/coredns/coredns.git
synced 2025-10-31 18:23:13 -04:00
Enable copyloopvar linter and remove redundant variable shadowing in Kubernetes plugin metadata handling. This pattern is no longer needed in Go 1.22+ where loop variables are automatically captured correctly in closures. Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
1.8 KiB
1.8 KiB