Return real size from SaveBlob

This commit is contained in:
Alexander Neumann authored and Michael Eischer committed 2022-07-02 18:55:12 +02:00
1 parent fdc53a9d32
commit 99634c0936
13 files changed
+50 -40

No files matched your search

+1 -1
View File
@@ -386,7 +386,7 @@ func loadBlobs(ctx context.Context, repo restic.Repository, pack restic.ID, list
}
}
if reuploadBlobs {
_, _, err := repo.SaveBlob(ctx, blob.Type, plaintext, id, true)
_, _, _, err := repo.SaveBlob(ctx, blob.Type, plaintext, id, true)
if err != nil {
return err
}