From c05f96e6b95d271df06d7a54288d330cb525d549 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Thu, 18 May 2023 20:01:29 +0200 Subject: [PATCH] repair index: remove no longer used paramter --- cmd/restic/cmd_repair_index.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/restic/cmd_repair_index.go b/cmd/restic/cmd_repair_index.go index 25d6b1cab..bacdf83e0 100644 --- a/cmd/restic/cmd_repair_index.go +++ b/cmd/restic/cmd_repair_index.go @@ -67,10 +67,10 @@ func runRebuildIndex(ctx context.Context, opts RepairIndexOptions, gopts GlobalO 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 packSizeFromList := make(map[restic.ID]int64) packSizeFromIndex := make(map[restic.ID]int64)