]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: Trailing whitespace (W291)
authorMichael Fritch <mfritch@suse.com>
Thu, 28 Jan 2021 02:42:33 +0000 (19:42 -0700)
committerMichael Fritch <mfritch@suse.com>
Fri, 5 Feb 2021 18:20:57 +0000 (11:20 -0700)
Signed-off-by: Michael Fritch <mfritch@suse.com>
src/pybind/mgr/cephadm/inventory.py
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/tox.ini

index 5e2f81759ffed2c2820b831de108a492a8307e6e..2074bb1462ec1739be54433b1e05c3cce3038ccd 100644 (file)
@@ -199,14 +199,14 @@ class HostCache():
 
     4. `last_etc_ceph_ceph_conf` O(hosts)
 
-    Stores the last refresh time for the /etc/ceph/ceph.conf. Used 
+    Stores the last refresh time for the /etc/ceph/ceph.conf. Used
     to avoid deploying new configs when failing over to a new mgr.
 
     5. `scheduled_daemon_actions`: O(daemons)
 
     Used to run daemon actions after deploying a daemon. We need to
     store it persistently, in order to stay consistent across
-    MGR failovers.   
+    MGR failovers.
     """
 
     def __init__(self, mgr):
index 23e1277d497d5c6b943664230f8615459105d474..cba40a970857cc03dbbd83886bcefe15aba74ab1 100644 (file)
@@ -1325,7 +1325,7 @@ class CephadmOrchestrator(orchestrator.Orchestrator, MgrModule,
 
         Placing a host into maintenance disables the cluster's ceph target in systemd
         and stops all ceph daemons. If the host is an osd host we apply the noout flag
-        for the host subtree in crush to prevent data movement during a host maintenance 
+        for the host subtree in crush to prevent data movement during a host maintenance
         window.
 
         :param hostname: (str) name of the host (must match an inventory hostname)
@@ -1394,7 +1394,7 @@ class CephadmOrchestrator(orchestrator.Orchestrator, MgrModule,
         """Exit maintenance mode and return a host to an operational state
 
         Returning from maintnenance will enable the clusters systemd target and
-        start it, and remove any noout that has been added for the host if the 
+        start it, and remove any noout that has been added for the host if the
         host has osd daemons
 
         :param hostname: (str) host name
index 65b1e08ac7f3e70bf51a6390fffbb745b56f07c3..742aaa60f9a2a49f9ad1f23677e0a85753f99b33 100644 (file)
@@ -15,7 +15,6 @@ ignore =
     F401,
     F811,
     F841,
-    W291,
     W503,
     W504,
 exclude =