From d97f5ac056c312e779c2c5530974c151c6974424 Mon Sep 17 00:00:00 2001 From: Catherine Date: Tue, 16 Dec 2025 20:05:35 +0000 Subject: [PATCH] Fix manifest `StoredSize` field being always zero. --- src/manifest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/manifest.go b/src/manifest.go index dfc0345..b5c6df2 100644 --- a/src/manifest.go +++ b/src/manifest.go @@ -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()