.golangci.yml: Replace exportloopref with copyloopvar #121

Merged
fyrchik merged 1 commit from fyrchik/frostfs-api-go:fix-linter-warning into master 2024-10-02 07:04:50 +00:00

1 commit

Author SHA1 Message Date
3e705a3cbe [#121] .golangci.yml: Replace exportloopref with copyloopvar
All checks were successful
Tests and linters / Lint (pull_request) Successful in 52s
Tests and linters / Tests with -race (pull_request) Successful in 1m7s
DCO action / DCO (pull_request) Successful in 1m22s
Tests and linters / Tests (pull_request) Successful in 1m36s
Fix linter warning:
```
WARN The linter 'exportloopref' is deprecated (since v1.60.2) due to: Since Go1.22 (loopvar) this linter is no longer relevant. Replaced by copyloopvar.
```

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-10-02 09:48:11 +03:00