]> 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)
committerLaura Flores <lflores@redhat.com>
Mon, 25 Apr 2022 17:43:45 +0000 (12:43 -0500)
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 4248205f0a4724648921cfbe1869ef5fe0dc57ed..5deb8f45b689e0a8338d9713d94efebdd9abb5a7 100644 (file)
@@ -1472,13 +1472,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: