]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw-admin: add "zonegroup remove zone" command
authorYehuda Sadeh <yehuda@redhat.com>
Mon, 2 Dec 2019 22:50:29 +0000 (14:50 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Tue, 28 Jan 2020 18:20:35 +0000 (10:20 -0800)
Does the same as "zonegroup remove", but should be used instead of it
as we also have a different "zonegroup delete" command.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_admin.cc

index 2933552b1de7a9b5cce8f6b5b822810a85115c8e..7c9e325ea78146b08c49de5a64d90fe0bb745232 100644 (file)
@@ -801,6 +801,7 @@ static SimpleCmd::Commands all_cmds = {
   { "zonegroup list", OPT::ZONEGROUP_LIST },
   { "zonegroups list", OPT::ZONEGROUP_LIST },
   { "zonegroup remove", OPT::ZONEGROUP_REMOVE },
+  { "zonegroup remove zone", OPT::ZONEGROUP_REMOVE },
   { "zonegroup rename", OPT::ZONEGROUP_RENAME },
   { "zonegroup placement add", OPT::ZONEGROUP_PLACEMENT_ADD },
   { "zonegroup placement modify", OPT::ZONEGROUP_PLACEMENT_MODIFY },