aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache/structuredcache.cpp
diff options
context:
space:
mode:
authorPer Larsson <[email protected]>2021-11-11 11:21:31 +0100
committerPer Larsson <[email protected]>2021-11-11 11:21:31 +0100
commit31ba344167677f175ec79ce7e579552a9811245d (patch)
treec7099f9adcc77c376f52534931ed612281334842 /zenserver/cache/structuredcache.cpp
parentAdded batch API to upstream endpoints. (diff)
downloadzen-31ba344167677f175ec79ce7e579552a9811245d.tar.xz
zen-31ba344167677f175ec79ce7e579552a9811245d.zip
Format and remove unused type.
Diffstat (limited to 'zenserver/cache/structuredcache.cpp')
-rw-r--r--zenserver/cache/structuredcache.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/zenserver/cache/structuredcache.cpp b/zenserver/cache/structuredcache.cpp
index 721942cc8..632368062 100644
--- a/zenserver/cache/structuredcache.cpp
+++ b/zenserver/cache/structuredcache.cpp
@@ -618,8 +618,7 @@ HttpStructuredCacheService::HandleGetCachePayload(zen::HttpServerRequest& Reques
if (QueryUpstream)
{
- if (auto UpstreamResult = m_UpstreamCache->GetCachePayload({Ref.BucketSegment, Ref.HashKey}, Ref.PayloadId);
- UpstreamResult.Success)
+ if (auto UpstreamResult = m_UpstreamCache->GetCachePayload({Ref.BucketSegment, Ref.HashKey}, Ref.PayloadId); UpstreamResult.Success)
{
if (CompressedBuffer Compressed = CompressedBuffer::FromCompressed(SharedBuffer(UpstreamResult.Value)))
{