]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: use block quote for "typical use"
authorKefu Chai <tchaikov@gmail.com>
Sun, 6 Mar 2022 07:28:16 +0000 (15:28 +0800)
committerDavid Galloway <dgallowa@redhat.com>
Tue, 12 Apr 2022 14:01:43 +0000 (10:01 -0400)
otherwise sphinx takes "Typical use" and the following line as a
field. see also

https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#field-lists

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit 05798f0cae9afda598f5a154c62fdd24bab9ca30)

src/pybind/mgr/orchestrator/_interface.py

index b99a380b00de2e71f4a8c6a14d0388998a537531..1d9b09581f3c02d54f6a87d07cc2cd62d53a8d9d 100644 (file)
@@ -1256,13 +1256,14 @@ class InventoryFilter(object):
     When fetching inventory, use this filter to avoid unnecessarily
     scanning the whole estate.
 
-    Typical use: filter by host when presenting UI workflow for configuring
-                 a particular server.
-                 filter by label when not all of estate is Ceph servers,
-                 and we want to only learn about the Ceph servers.
-                 filter by label when we are interested particularly
-                 in e.g. OSD servers.
-
+    Typical use:
+
+      filter by host when presentig UI workflow for configuring
+      a particular server.
+      filter by label when not all of estate is Ceph servers,
+      and we want to only learn about the Ceph servers.
+      filter by label when we are interested particularly
+      in e.g. OSD servers.
     """
 
     def __init__(self, labels: Optional[List[str]] = None, hosts: Optional[List[str]] = None) -> None: