From b81d88008443cbc1b43ea93a7058284dbc44538f Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Fri, 18 Nov 2016 17:04:57 -0500 Subject: [PATCH] rgw: look for region_map in rgw_region_root_pool Signed-off-by: Casey Bodley --- src/rgw/rgw_rados.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rgw/rgw_rados.cc b/src/rgw/rgw_rados.cc index 17cc7fa24f84b..3127ab0042251 100644 --- a/src/rgw/rgw_rados.cc +++ b/src/rgw/rgw_rados.cc @@ -3334,9 +3334,9 @@ int RGWRados::convert_regionmap() { RGWZoneGroupMap zonegroupmap; - string pool_name = cct->_conf->rgw_zone_root_pool; + string pool_name = cct->_conf->rgw_region_root_pool; if (pool_name.empty()) { - pool_name = RGW_DEFAULT_ZONE_ROOT_POOL; + pool_name = RGW_DEFAULT_ZONEGROUP_ROOT_POOL; } string oid = region_map_oid; -- 2.39.5