mirror of
https://github.com/ceph/ceph
synced 2025-04-01 00:26:47 +00:00
Merge pull request #9244 from dreamhost/wip-15974
rgw: fix manager selection when APIs customized Reviewed-by: Orit Wasserman <owasserm@redhat.com>
This commit is contained in:
commit
6ae10f02d2
@ -1550,9 +1550,6 @@ RGWRESTMgr *RGWRESTMgr::get_resource_mgr(struct req_state *s, const string& uri,
|
||||
{
|
||||
*out_uri = uri;
|
||||
|
||||
if (resources_by_size.empty())
|
||||
return this;
|
||||
|
||||
multimap<size_t, string>::reverse_iterator iter;
|
||||
|
||||
for (iter = resources_by_size.rbegin(); iter != resources_by_size.rend(); ++iter) {
|
||||
|
Loading…
Reference in New Issue
Block a user