]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: RGWRealm/Period/ZoneGroup/ZoneParams are fully public
authorCasey Bodley <cbodley@redhat.com>
Wed, 7 Sep 2022 18:15:02 +0000 (14:15 -0400)
committerCasey Bodley <cbodley@redhat.com>
Wed, 28 Sep 2022 20:24:20 +0000 (16:24 -0400)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_zone.h

index b48750e759a6a74595872b8378588d195174a3aa..38ee4265f4bfde7a33aef197f08c99340279a7e1 100644 (file)
@@ -79,7 +79,7 @@ class RGWSI_SysObj;
 class RGWSI_Zone;
 
 class RGWSystemMetaObj {
-protected:
+public:
   std::string id;
   std::string name;
 
@@ -1095,6 +1095,7 @@ class RGWPeriod;
 
 class RGWRealm : public RGWSystemMetaObj
 {
+public:
   std::string current_period;
   epoch_t epoch{0}; //< realm epoch, incremented for each new period
 
@@ -1207,6 +1208,7 @@ WRITE_CLASS_ENCODER(RGWPeriodLatestEpochInfo)
  */
 class RGWPeriod
 {
+public:
   std::string id; //< a uuid
   epoch_t epoch{0};
   std::string predecessor_uuid;