mirror of
https://github.com/restic/restic.git
synced 2026-07-18 05:04:54 +00:00
Return real size from SaveBlob
This commit is contained in:
committed by
Michael Eischer
parent
fdc53a9d32
commit
99634c0936
@@ -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