diff options
| author | zousar <[email protected]> | 2023-12-06 16:46:00 -0700 |
|---|---|---|
| committer | zousar <[email protected]> | 2023-12-06 16:46:00 -0700 |
| commit | ed465b8d83c5b1a3f996fd8f4f037427574918f2 (patch) | |
| tree | 008ab3b4d6b4347d3fbea6c0b8c2181872aed766 /src/zenserver/projectstore/projectstore.cpp | |
| parent | Ran precommit (diff) | |
| download | zen-ed465b8d83c5b1a3f996fd8f4f037427574918f2.tar.xz zen-ed465b8d83c5b1a3f996fd8f4f037427574918f2.zip | |
Change naming to ChunkInfos instead of Chunks
Diffstat (limited to 'src/zenserver/projectstore/projectstore.cpp')
| -rw-r--r-- | src/zenserver/projectstore/projectstore.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zenserver/projectstore/projectstore.cpp b/src/zenserver/projectstore/projectstore.cpp index 8bc49c55f..9ba8e3a19 100644 --- a/src/zenserver/projectstore/projectstore.cpp +++ b/src/zenserver/projectstore/projectstore.cpp @@ -2230,9 +2230,9 @@ ProjectStore::GetProjectFiles(const std::string_view ProjectId, const std::strin } std::pair<HttpResponseCode, std::string> -ProjectStore::GetProjectChunks(const std::string_view ProjectId, const std::string_view OplogId, CbObject& OutPayload) +ProjectStore::GetProjectChunkInfos(const std::string_view ProjectId, const std::string_view OplogId, CbObject& OutPayload) { - ZEN_TRACE_CPU("ProjectStore::GetProjectChunks"); + ZEN_TRACE_CPU("ProjectStore::GetProjectChunkInfos"); using namespace std::literals; @@ -2254,7 +2254,7 @@ ProjectStore::GetProjectChunks(const std::string_view ProjectId, const std::stri FoundLog->IterateChunkMap([&ChunkInfos](const Oid& Id, const IoHash& Hash) { ChunkInfos.push_back({Id, Hash}); }); CbObjectWriter Response; - Response.BeginArray("chunks"sv); + Response.BeginArray("chunkinfos"sv); for (const auto& ChunkInfo : ChunkInfos) { |