Fix totalNarSize summation

I accidentally removed it in d0d3b0a298.
This commit is contained in:
John Ericson 2023-12-10 14:05:26 -05:00
parent 2bd67562b5
commit 8c10331ee8

View file

@ -341,6 +341,7 @@ static std::map<StorePath, UnkeyedValidPathInfo> queryPathInfos(
auto storePath = localStore.parseStorePath(storePathS); auto storePath = localStore.parseStorePath(storePathS);
auto info = ServeProto::Serialise<UnkeyedValidPathInfo>::read(localStore, conn); auto info = ServeProto::Serialise<UnkeyedValidPathInfo>::read(localStore, conn);
totalNarSize += info.narSize;
infos.insert_or_assign(std::move(storePath), std::move(info)); infos.insert_or_assign(std::move(storePath), std::move(info));
} }