Skip to content

Commit

Permalink
Merge pull request #14144 from smithfarm/wip-19356-kraken
Browse files Browse the repository at this point in the history
kraken: rgw: when converting region_map we need to use rgw_zone_root_pool

Reviewed-by: Casey Bodley <cbodley@redhat.com>
  • Loading branch information
smithfarm committed Apr 12, 2017
2 parents 41770be + 51e8ba0 commit 2fec939
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 @@ -3345,9 +3345,9 @@ int RGWRados::convert_regionmap()
{
RGWZoneGroupMap zonegroupmap;

string pool_name = cct->_conf->rgw_region_root_pool;
string pool_name = cct->_conf->rgw_zone_root_pool;
if (pool_name.empty()) {
pool_name = RGW_DEFAULT_ZONEGROUP_ROOT_POOL;
pool_name = RGW_DEFAULT_ZONE_ROOT_POOL;
}
string oid = region_map_oid;

Expand Down

0 comments on commit 2fec939

Please sign in to comment.