aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/cache/structuredcachestore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenstore/cache/structuredcachestore.cpp')
-rw-r--r--src/zenstore/cache/structuredcachestore.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zenstore/cache/structuredcachestore.cpp b/src/zenstore/cache/structuredcachestore.cpp
index 51c80dbc7..b58f70ea7 100644
--- a/src/zenstore/cache/structuredcachestore.cpp
+++ b/src/zenstore/cache/structuredcachestore.cpp
@@ -731,7 +731,7 @@ ZenCacheStore::Put(const CacheRequestContext& Context,
{
m_RejectedWriteCount++;
CbObjectWriter DetailWriter;
- DetailWriter.AddString("Bad bucket name");
+ DetailWriter.AddString("Message", "Bad bucket name");
return PutResult{zen::PutStatus::Invalid, DetailWriter.Save()};
}
@@ -781,7 +781,7 @@ ZenCacheStore::Put(const CacheRequestContext& Context,
HashKey.ToHexString());
CbObjectWriter DetailWriter;
- DetailWriter.AddString(fmt::format("Unknown namespace '{}'", Namespace));
+ DetailWriter.AddString("Message", fmt::format("Unknown namespace '{}'", Namespace));
return PutResult{zen::PutStatus::Fail, DetailWriter.Save()};
}