mirror of
https://github.com/restic/restic.git
synced 2025-12-04 02:31:57 +00:00
Return real size from SaveBlob
This commit is contained in:
committed by
Michael Eischer
parent
fdc53a9d32
commit
99634c0936
@@ -75,7 +75,7 @@ func Repack(ctx context.Context, repo restic.Repository, dstRepo restic.Reposito
|
||||
}
|
||||
|
||||
// We do want to save already saved blobs!
|
||||
_, _, err = dstRepo.SaveBlob(wgCtx, blob.Type, buf, blob.ID, true)
|
||||
_, _, _, err = dstRepo.SaveBlob(wgCtx, blob.Type, buf, blob.ID, true)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user