mirror of
https://github.com/restic/restic.git
synced 2026-10-17 15:08:12 +00:00
Return real size from SaveBlob
This commit is contained in:
1 parent
fdc53a9d32
commit
99634c0936
13 files changed
+50
-40
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user