]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rados/operations: Fix off-by-one errors in control.rst 55231/head
authortobydarling <anothercoffee@gmail.com>
Fri, 12 Jan 2024 14:10:13 +0000 (14:10 +0000)
committerZac Dover <zac.dover@proton.me>
Thu, 18 Jan 2024 10:42:39 +0000 (20:42 +1000)
Description of examples was off by one

Signed-off-by: tobydarling <anothercoffee@gmail.com>
(cherry picked from commit c636e3ed2d459a063ae6ab0e2dc876db5c58c7e6)

doc/rados/operations/control.rst

index 033f831cd8fc489f5a473ecf5ac31c69fece15ce..32d043f1f31a51d052ed1952744c97b8d5374b33 100644 (file)
@@ -474,27 +474,25 @@ following command:
 
    ceph tell mds.{mds-id} config set {setting} {value}
 
-Example:
+Example: to enable debug messages, run the following command:
 
 .. prompt:: bash $
 
    ceph tell mds.0 config set debug_ms 1
 
-To enable debug messages, run the following command:
+To display the status of all metadata servers, run the following command:
 
 .. prompt:: bash $
 
    ceph mds stat
 
-To display the status of all metadata servers, run the following command:
+To mark the active metadata server as failed (and to trigger failover to a
+standby if a standby is present), run the following command:
 
 .. prompt:: bash $
 
    ceph mds fail 0
 
-To mark the active metadata server as failed (and to trigger failover to a
-standby if a standby is present), run the following command:
-
 .. todo:: ``ceph mds`` subcommands missing docs: set, dump, getmap, stop, setmap