From 3c70331d6b3e6909a61e01bc907a0acb1f3d17db Mon Sep 17 00:00:00 2001 From: Drunkard Zhang Date: Thu, 13 Apr 2017 12:51:44 +0800 Subject: [PATCH] doc: indent style fixes Signed-off-by: Drunkard Zhang --- doc/cephfs/administration.rst | 10 +++++----- doc/rados/operations/control.rst | 2 +- doc/radosgw/multitenancy.rst | 21 ++++++++++++--------- 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/doc/cephfs/administration.rst b/doc/cephfs/administration.rst index 3569165fa0b5..7375a7618e45 100644 --- a/doc/cephfs/administration.rst +++ b/doc/cephfs/administration.rst @@ -73,7 +73,6 @@ active MDS (max_mds). mds repaired - Global settings --------------- @@ -85,11 +84,12 @@ Global settings fs flag set [] - 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 -------- diff --git a/doc/rados/operations/control.rst b/doc/rados/operations/control.rst index f5d596fc0288..bd43587568bd 100644 --- a/doc/rados/operations/control.rst +++ b/doc/rados/operations/control.rst @@ -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, diff --git a/doc/radosgw/multitenancy.rst b/doc/radosgw/multitenancy.rst index 1756112bd500..42396cdbd1a3 100644 --- a/doc/radosgw/multitenancy.rst +++ b/doc/radosgw/multitenancy.rst @@ -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 -- 2.47.3