mirror of
https://github.com/restic/restic.git
synced 2026-11-13 22:43:03 +00:00
Fix linter errors (except for tests)
This commit is contained in:
1 parent
a8cda0119c
commit
c0514dd8ba
36 files changed
+61
-56
No files matched your search
@@ -19,7 +19,7 @@ func ForAllIndexes(ctx context.Context, lister restic.Lister, repo restic.Lister
|
||||
workerCount := repo.Connections() + uint(runtime.GOMAXPROCS(0))
|
||||
|
||||
var m sync.Mutex
|
||||
return restic.ParallelList(ctx, lister, restic.IndexFile, workerCount, func(ctx context.Context, id restic.ID, size int64) error {
|
||||
return restic.ParallelList(ctx, lister, restic.IndexFile, workerCount, func(ctx context.Context, id restic.ID, _ int64) error {
|
||||
var err error
|
||||
var idx *Index
|
||||
oldFormat := false
|
||||
|
||||
Reference in new issue
Block a user