From 8e093a5993dac6ce77efb7fd9ada1671e249b475 Mon Sep 17 00:00:00 2001 From: Michael Fritch Date: Wed, 27 Jan 2021 19:42:33 -0700 Subject: [PATCH] mgr/cephadm: Trailing whitespace (W291) Signed-off-by: Michael Fritch --- src/pybind/mgr/cephadm/inventory.py | 4 ++-- src/pybind/mgr/cephadm/module.py | 4 ++-- src/pybind/mgr/tox.ini | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/pybind/mgr/cephadm/inventory.py b/src/pybind/mgr/cephadm/inventory.py index 5e2f81759ffed..2074bb1462ec1 100644 --- a/src/pybind/mgr/cephadm/inventory.py +++ b/src/pybind/mgr/cephadm/inventory.py @@ -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): diff --git a/src/pybind/mgr/cephadm/module.py b/src/pybind/mgr/cephadm/module.py index 23e1277d497d5..cba40a970857c 100644 --- a/src/pybind/mgr/cephadm/module.py +++ b/src/pybind/mgr/cephadm/module.py @@ -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 diff --git a/src/pybind/mgr/tox.ini b/src/pybind/mgr/tox.ini index 65b1e08ac7f3e..742aaa60f9a2a 100644 --- a/src/pybind/mgr/tox.ini +++ b/src/pybind/mgr/tox.ini @@ -15,7 +15,6 @@ ignore = F401, F811, F841, - W291, W503, W504, exclude = -- 2.39.5