]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw/rgw_admin: s/realm delete/realm rm/
authorKefu Chai <kchai@redhat.com>
Thu, 1 Apr 2021 11:58:41 +0000 (19:58 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 1 Apr 2021 12:03:52 +0000 (20:03 +0800)
it was an oversight of fa5398d31f9467b58a8b4eda55d1b5e2bbdb6500

Signed-off-by: Kefu Chai <kchai@redhat.com>
PendingReleaseNotes
doc/radosgw/multisite.rst
src/rgw/rgw_admin.cc

index cd4c12bbe7393a1930f435a9d47973953041836b..dce4ea0926f94fc6de355d5d00142b40a0cd5723 100644 (file)
@@ -9,6 +9,9 @@
   that were storing state in RADOS omap, especially without striping which
   limits scalability.
 
+* RGW: `radosgw-admin realm delete` is now renamed to `radosgw-admin realm rm`. This
+  is consistent with the help message.
+
 >=16.0.0
 --------
 * mgr-pg_autoscaler: Autoscaler will now start out by scaling each
index fc859594568f7f0acf640f24fbfe1a5c938507e5..34ec72130ba928017e7bc908e1ad3b3fc1f14897 100644 (file)
@@ -770,17 +770,17 @@ realm. Alternatively, to change which realm is the default, execute:
 Delete a Realm
 ~~~~~~~~~~~~~~
 
-To delete a realm, execute ``realm delete`` and specify the realm name.
+To delete a realm, execute ``realm rm`` and specify the realm name.
 
 ::
 
-    # radosgw-admin realm delete --rgw-realm={realm-name}
+    # radosgw-admin realm rm --rgw-realm={realm-name}
 
 For example:
 
 ::
 
-    # radosgw-admin realm delete --rgw-realm=movies
+    # radosgw-admin realm rm --rgw-realm=movies
 
 Get a Realm
 ~~~~~~~~~~~
index 3cf4ad3e6a162898a1cb080e8a3c4772e23d1ec6..1970966afd2697a983acf7b233d30c705fd55ba7 100644 (file)
@@ -931,7 +931,7 @@ static SimpleCmd::Commands all_cmds = {
   { "datalog autotrim", OPT::DATALOG_AUTOTRIM },
   { "datalog trim", OPT::DATALOG_TRIM },
   { "realm create", OPT::REALM_CREATE },
-  { "realm delete", OPT::REALM_DELETE },
+  { "realm rm", OPT::REALM_DELETE },
   { "realm get", OPT::REALM_GET },
   { "realm get default", OPT::REALM_GET_DEFAULT },
   { "realm get-default", OPT::REALM_GET_DEFAULT },