]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: indent style fixes 14494/head
authorDrunkard Zhang <gongfan193@gmail.com>
Thu, 13 Apr 2017 04:51:44 +0000 (12:51 +0800)
committerDrunkard Zhang <gongfan193@gmail.com>
Thu, 13 Apr 2017 04:51:44 +0000 (12:51 +0800)
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
doc/cephfs/administration.rst
doc/rados/operations/control.rst
doc/radosgw/multitenancy.rst

index 3569165fa0b540a32a892617cc5c4364ce149c15..7375a7618e459007c3cc6038d6b2c4dfa8d4b765 100644 (file)
@@ -73,7 +73,6 @@ active MDS (max_mds).
     mds repaired <role>
 
 
-
 Global settings
 ---------------
 
@@ -85,11 +84,12 @@ Global settings
 
     fs flag set <flag name> <flag val> [<confirmation string>]
 
-    flag name must be one of ['enable_multiple']
+"flag name" must be one of ['enable_multiple']
+
+Some flags require you to confirm your intentions with "--yes-i-really-mean-it"
+or a similar string they will prompt you with. Consider these actions carefully
+before proceeding; they are placed on especially dangerous activities.
 
-    some flags require you to confirm your intentions with "--yes-i-really-mean-it"
-    or a similar string they will prompt you with. Consider these actions carefully
-    before proceeding; they are placed on especially dangerous activities.
 
 Advanced
 --------
index f5d596fc02886e39bfd69f01d8e69a3d307f45b6..bd43587568bd24954139965964aa25404509c7ac 100644 (file)
@@ -222,7 +222,7 @@ threshold it will use that percentage instead. ::
 
 Describes what reweight-by-utilization would do. ::
 
-    ceph osd test-reweight-by-utilization
+       ceph osd test-reweight-by-utilization
 
 Adds/removes the address to/from the blacklist. When adding an address,
 you can specify how long it should be blacklisted in seconds; otherwise,
index 1756112bd5008bff419a5666b4069eac450ea1f4..42396cdbd1a3f9be5cf3afdc88dad7bb1a87d53e 100644 (file)
@@ -63,15 +63,18 @@ Thus a sample URL would be::
 
   https://ep.host.dom/tenant:bucket
 
-Here's a simple Python sample::
-
-    from boto.s3.connection import S3Connection, OrdinaryCallingFormat
-    c = S3Connection(
-        aws_access_key_id="TESTER",
-        aws_secret_access_key="test123",
-        host="ep.host.dom",
-        calling_format = OrdinaryCallingFormat())
-    bucket = c.get_bucket("test5b:testbucket")
+Here's a simple Python sample:
+
+.. code-block:: python
+   :linenos:
+
+       from boto.s3.connection import S3Connection, OrdinaryCallingFormat
+       c = S3Connection(
+               aws_access_key_id="TESTER",
+               aws_secret_access_key="test123",
+               host="ep.host.dom",
+               calling_format = OrdinaryCallingFormat())
+       bucket = c.get_bucket("test5b:testbucket")
 
 Note that it's not possible to supply an explicit tenant using
 a hostname. Hostnames cannot contain colons, or any other separators