databricks-cli/integration/cmd
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
..
alerts Clean up TestMain from integration tests to fix caching (#2090) 2025-01-08 11:59:22 +00:00
api Clean up TestMain from integration tests to fix caching (#2090) 2025-01-08 11:59:22 +00:00
auth Clean up TestMain from integration tests to fix caching (#2090) 2025-01-08 11:59:22 +00:00
clusters Clean up TestMain from integration tests to fix caching (#2090) 2025-01-08 11:59:22 +00:00
fs Enable linter 'copyloopvar' and fix the issues (#2160) 2025-01-16 11:20:50 +00:00
jobs Clean up TestMain from integration tests to fix caching (#2090) 2025-01-08 11:59:22 +00:00
repos Clean up TestMain from integration tests to fix caching (#2090) 2025-01-08 11:59:22 +00:00
secrets Clean up TestMain from integration tests to fix caching (#2090) 2025-01-08 11:59:22 +00:00
storage_credentials Clean up TestMain from integration tests to fix caching (#2090) 2025-01-08 11:59:22 +00:00
sync Clean up TestMain from integration tests to fix caching (#2090) 2025-01-08 11:59:22 +00:00
version Clean up TestMain from integration tests to fix caching (#2090) 2025-01-08 11:59:22 +00:00
workspace Clean up TestMain from integration tests to fix caching (#2090) 2025-01-08 11:59:22 +00:00
unknown_command_test.go Remove calls to `t.Setenv` from integration tests (#2018) 2024-12-16 12:34:37 +01:00