]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgwlc: return real default zone type from sal_dbstore and sal_motr
authorMatt Benjamin <mbenjamin@redhat.com>
Wed, 13 Jul 2022 18:28:08 +0000 (14:28 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Sun, 17 Jul 2022 22:38:15 +0000 (18:38 -0400)
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_sal_dbstore.h
src/rgw/rgw_sal_motr.h

index 5258e760d96e598c99999d6e2ec1f1a6b67791d4..a5074d9a67bef57d2669a63cfb29fee3d04f085a 100644 (file)
@@ -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 {
index 33db3598325d360c12b2c5ca69a59ddff96b8df1..130bcfbc9ec81995e9870cacd15a4e2d18568c74 100644 (file)
@@ -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;
 };