Skip to content

Commit

Permalink
rgw: look for region_map in rgw_region_root_pool
Browse files Browse the repository at this point in the history
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit b81d880)
  • Loading branch information
cbodley authored and ldachary committed Nov 23, 2016
1 parent af10e57 commit a0b4e60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rgw/rgw_rados.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3237,9 +3237,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;

Expand Down

0 comments on commit a0b4e60

Please sign in to comment.