Fix manifest StoredSize field being always zero.

This commit is contained in:
Catherine
2025-12-16 20:05:35 +00:00
parent 79407ba406
commit d97f5ac056

View File

@@ -329,7 +329,7 @@ func StoreManifest(
// Compute the total and deduplicated storage size.
totalSize := int64(0)
blobSizes := map[string]int64{}
for _, entry := range manifest.Contents {
for _, entry := range extManifest.Contents {
totalSize += entry.GetOriginalSize()
if entry.GetType() == Type_ExternalFile {
blobSizes[string(entry.Data)] = entry.GetCompressedSize()