mirror of
https://github.com/restic/restic.git
synced 2025-03-13 19:30:52 +00:00
repair index: remove no longer used paramter
This commit is contained in:
parent
94752b7ee2
commit
c05f96e6b9
@ -67,10 +67,10 @@ func runRebuildIndex(ctx context.Context, opts RepairIndexOptions, gopts GlobalO
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
return rebuildIndex(ctx, opts, gopts, repo, restic.NewIDSet())
|
return rebuildIndex(ctx, opts, gopts, repo)
|
||||||
}
|
}
|
||||||
|
|
||||||
func rebuildIndex(ctx context.Context, opts RepairIndexOptions, gopts GlobalOptions, repo *repository.Repository, ignorePacks restic.IDSet) error {
|
func rebuildIndex(ctx context.Context, opts RepairIndexOptions, gopts GlobalOptions, repo *repository.Repository) error {
|
||||||
var obsoleteIndexes restic.IDs
|
var obsoleteIndexes restic.IDs
|
||||||
packSizeFromList := make(map[restic.ID]int64)
|
packSizeFromList := make(map[restic.ID]int64)
|
||||||
packSizeFromIndex := make(map[restic.ID]int64)
|
packSizeFromIndex := make(map[restic.ID]int64)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user