diff options
| author | Per Larsson <[email protected]> | 2021-11-11 11:21:31 +0100 |
|---|---|---|
| committer | Per Larsson <[email protected]> | 2021-11-11 11:21:31 +0100 |
| commit | 31ba344167677f175ec79ce7e579552a9811245d (patch) | |
| tree | c7099f9adcc77c376f52534931ed612281334842 /zenserver/cache/structuredcache.cpp | |
| parent | Added batch API to upstream endpoints. (diff) | |
| download | zen-31ba344167677f175ec79ce7e579552a9811245d.tar.xz zen-31ba344167677f175ec79ce7e579552a9811245d.zip | |
Format and remove unused type.
Diffstat (limited to 'zenserver/cache/structuredcache.cpp')
| -rw-r--r-- | zenserver/cache/structuredcache.cpp | 3 |
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))) { |