Fix linter errors (except for tests)

This commit is contained in:
Alexander Neumann committed 2024-02-10 22:58:10 +01:00
1 parent a8cda0119c
commit c0514dd8ba
36 files changed
+61 -56

No files matched your search

+1 -1
View File
@@ -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