aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache/structuredcache.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-05-12 10:08:12 +0200
committerDan Engelbrecht <[email protected]>2022-05-12 10:08:12 +0200
commit19066beb8e31296b1d4b542b8c4414f29b1f47c8 (patch)
treed2de2d56d9d5e5c629113d59c902e47d4a6714be /zenserver/cache/structuredcache.cpp
parentuse spaceship operator for CacheKey comparisons (diff)
downloadzen-19066beb8e31296b1d4b542b8c4414f29b1f47c8.tar.xz
zen-19066beb8e31296b1d4b542b8c4414f29b1f47c8.zip
revert Bucket - Key parameter change
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 98272722c..eed7a4420 100644
--- a/zenserver/cache/structuredcache.cpp
+++ b/zenserver/cache/structuredcache.cpp
@@ -161,7 +161,7 @@ HttpStructuredCacheService::HandleRequest(HttpServerRequest& Request)
}
void
-HttpStructuredCacheService::HandleCacheBucketRequest(HttpServerRequest& Request, std::string_view Key)
+HttpStructuredCacheService::HandleCacheBucketRequest(HttpServerRequest& Request, std::string_view Bucket)
{
switch (Request.RequestVerb())
{
@@ -177,7 +177,6 @@ HttpStructuredCacheService::HandleCacheBucketRequest(HttpServerRequest& Request,
{
// TODO: Should add namespace to URI and handle if the namespace is missing for backwards compatability
std::string_view Namespace = ZenCacheStore::DefaultNamespace;
- std::string_view Bucket = Key;
if (m_CacheStore.DropBucket(Namespace, Bucket))
{