databricks-cli/cmd/bundle/generate
Denis Bilenko b273dc5942
Enable linter 'copyloopvar' and fix the issues (#2160)
## Changes
- Remove all unnecessary copies of the loop variable, it is not
necessary since Go 1.22 https://go.dev/blog/loopvar-preview
- Enable the linter that catches this issue
https://github.com/karamaru-alpha/copyloopvar

## Tests
Existing tests.
2025-01-16 11:20:50 +00:00
..
app.go Added support for Databricks Apps in DABs (#1928) 2025-01-13 16:43:48 +00:00
dashboard.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
dashboard_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
generate_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
job.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
pipeline.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
utils.go Enable linter 'copyloopvar' and fix the issues (#2160) 2025-01-16 11:20:50 +00:00