repository: remove unused obsoletePacks return values from Repack

This commit is contained in:
Michael Eischer committed 2025-11-16 12:51:46 +01:00
1 parent 0624b656b8
commit b2afccbd96
4 files changed
+17 -36

No files matched your search

+1 -1
View File
@@ -244,7 +244,7 @@ func copyTree(ctx context.Context, srcRepo restic.Repository, dstRepo restic.Rep
bar := printer.NewCounter("packs copied")
bar.SetMax(uint64(len(packList)))
_, err = repository.Repack(ctx, srcRepo, dstRepo, packList, copyBlobs, bar, printer.P)
err = repository.Repack(ctx, srcRepo, dstRepo, packList, copyBlobs, bar, printer.P)
bar.Done()
if err != nil {
return errors.Fatalf("%s", err)