Fix lint errors, update loopvar-related linters #1341

Merged
fyrchik merged 3 commits from fyrchik/frostfs-node:fix-linter into master 2024-08-28 15:44:44 +00:00
Owner
No description provided.
fyrchik added 3 commits 2024-08-28 11:50:39 +00:00
Fix error with go1.23:
```
Error: build linters: unable to load custom analyzer "truecloudlab-linters": ../linters/bin/external_linters.so, plugin.Open("/repo/frostfs/linters/bin/external_linters"): plugin was built with a different version of package cmp
Failed executing command with error: build linters: unable to load custom analyzer "truecloudlab-linters": ../linters/bin/external_linters.so, plugin.Open("/repo/frostfs/linters/bin/external_linters"): plugin was built with a different version of package cmp
```

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
.golangci.yml: Replace exportloopref with copyloopvar
Some checks failed
Vulncheck / Vulncheck (pull_request) Successful in 3m34s
DCO action / DCO (pull_request) Failing after 3m44s
Tests and linters / Lint (pull_request) Failing after 4m46s
Tests and linters / Tests with -race (pull_request) Failing after 4m57s
Tests and linters / Tests (1.23) (pull_request) Successful in 5m10s
Tests and linters / Tests (1.22) (pull_request) Successful in 5m30s
Tests and linters / Run gofumpt (pull_request) Successful in 5m30s
Pre-commit hooks / Pre-commit (pull_request) Successful in 6m13s
Tests and linters / Staticcheck (pull_request) Successful in 6m51s
Build / Build Components (1.23) (pull_request) Successful in 7m13s
Build / Build Components (1.22) (pull_request) Successful in 7m16s
Tests and linters / gopls check (pull_request) Successful in 6m59s
68d40e37c8
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
fyrchik requested review from storage-core-committers 2024-08-28 11:50:44 +00:00
fyrchik requested review from storage-core-developers 2024-08-28 11:50:45 +00:00
fyrchik force-pushed fix-linter from 68d40e37c8 to d1dab5aa0b 2024-08-28 11:50:55 +00:00 Compare
fyrchik force-pushed fix-linter from d1dab5aa0b to 2c25f566fd 2024-08-28 11:52:14 +00:00 Compare
fyrchik force-pushed fix-linter from 2c25f566fd to f8c6e05e1c 2024-08-28 12:00:14 +00:00 Compare
aarifullin approved these changes 2024-08-28 13:07:23 +00:00
acid-ant approved these changes 2024-08-28 13:54:23 +00:00
fyrchik merged commit 03976c6ed5 into master 2024-08-28 15:44:44 +00:00
fyrchik deleted branch fix-linter 2024-08-28 15:44:49 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#1341
No description provided.