mirror of
https://github.com/kopia/kopia.git
synced 2026-10-25 07:38:50 -04:00
Upgraded linter to 1.40.1 (#1072)
* tools: upgraded linter to 1.40.1 * lint: fixed nolintlint vionlations * lint: disabled tagliatele linter * lint: fixed remaining warnings
This commit is contained in:
1 parent
fcd507a56d
commit
30ca3e2e6c
138 files changed
+266
-70
No files matched your search
@@ -67,6 +67,7 @@ func (v *Queue) Process(ctx context.Context, workers int) error {
|
||||
select {
|
||||
case <-ctx.Done():
|
||||
// context canceled - some other worker returned an error.
|
||||
// nolint:wrapcheck
|
||||
return ctx.Err()
|
||||
|
||||
default:
|
||||
@@ -86,6 +87,7 @@ func (v *Queue) Process(ctx context.Context, workers int) error {
|
||||
})
|
||||
}
|
||||
|
||||
// nolint:wrapcheck
|
||||
return eg.Wait()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user