From 92657be1ea204700e3b0e0e30a8e0e1dc2074470 Mon Sep 17 00:00:00 2001 From: Matt Benjamin Date: Wed, 13 Jul 2022 14:28:08 -0400 Subject: [PATCH] rgwlc: return real default zone type from sal_dbstore and sal_motr Signed-off-by: Matt Benjamin --- src/rgw/rgw_sal_dbstore.h | 2 +- src/rgw/rgw_sal_motr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rgw/rgw_sal_dbstore.h b/src/rgw/rgw_sal_dbstore.h index 5258e760d96..a5074d9a67b 100644 --- a/src/rgw/rgw_sal_dbstore.h +++ b/src/rgw/rgw_sal_dbstore.h @@ -335,7 +335,7 @@ protected: virtual const RGWAccessKey& get_system_key() override; virtual const std::string& get_realm_name() override; virtual const std::string& get_realm_id() override; - virtual const std::string& get_tier_type() override { return "fixme"; } + virtual const std::string& get_tier_type() override { return "rgw"; } }; class DBLuaScriptManager : public StoreLuaScriptManager { diff --git a/src/rgw/rgw_sal_motr.h b/src/rgw/rgw_sal_motr.h index 33db3598325..130bcfbc9ec 100644 --- a/src/rgw/rgw_sal_motr.h +++ b/src/rgw/rgw_sal_motr.h @@ -457,7 +457,7 @@ class MotrZone : public StoreZone { virtual const RGWAccessKey& get_system_key() { return zone_params->system_key; } virtual const std::string& get_realm_name() { return realm->get_name(); } virtual const std::string& get_realm_id() { return realm->get_id(); } - virtual const std::string& get_tier_type() { return "fixme"; } + virtual const std::string& get_tier_type() { return "rgw"; } friend class MotrStore; }; -- 2.39.5