repository: remove unused obsoletePacks return values from Repack

This commit is contained in:
Michael Eischer
2025-10-12 18:29:59 +02:00
parent 0624b656b8
commit b2afccbd96
4 changed files with 17 additions and 36 deletions
+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)