]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix error message for zone delete 8245/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Mon, 21 Mar 2016 19:48:11 +0000 (20:48 +0100)
committerAbhishek Lekshmanan <abhishek@suse.com>
Mon, 21 Mar 2016 19:57:34 +0000 (20:57 +0100)
commitc9245e71182f68a1e9d0f5c6ea5611f15d4d6937
tree163d911770f08e86c78b4bfe7dbcdc2e257b94dd
parent19aabf4a3047eb63c1646375357054ca12991a06
rgw: fix error message for zone delete

Currently if a zone is not a part of a zonegroup, an error message
is printed that zone doesn't exist, and the zone gets deleted anyway.
Since this is exhibited only if the zone isn't a part of a zonegroup
and we allow creation of such zones, clarify that the zone wasn't a
part of zonegroup instead

Fixes: #14951
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/rgw/rgw_rados.cc