]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix get_resource_mgr() to correctly identify resource
authorYehuda Sadeh <yehuda@inktank.com>
Fri, 7 Jun 2013 04:47:21 +0000 (21:47 -0700)
committerGreg Farnum <greg@inktank.com>
Fri, 7 Jun 2013 20:52:14 +0000 (13:52 -0700)
commit8d55b87f95d59dbfcfd0799c4601ca37ebb025f5
tree636c8cdf1b6f944283ba9ba2974e170321562d3b
parent9a0a9c205b8c24ca9c1e05b0cf9875768e867a9e
rgw: fix get_resource_mgr() to correctly identify resource

Fixes: #5262
The original test was not comparing the correct string, ended up
with the effect of just checking the substring of the uri to match
the resource.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
src/rgw/rgw_rest.cc