From: Kefu Chai Date: Sun, 31 Jan 2021 09:47:52 +0000 (+0800) Subject: pybind/mgr/status: PEP8 cleanups X-Git-Tag: v17.1.0~3077^2~8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=250f9c9e470c6699dd92b6253df9ac4229656bcc;p=ceph.git pybind/mgr/status: PEP8 cleanups Signed-off-by: Kefu Chai --- diff --git a/src/pybind/mgr/status/module.py b/src/pybind/mgr/status/module.py index f67bff512bca..879ab29cf073 100644 --- a/src/pybind/mgr/status/module.py +++ b/src/pybind/mgr/status/module.py @@ -99,7 +99,8 @@ class Module(MgrModule): activity = "" if state == "active": - rate = self.get_rate("mds", info['name'], "mds_server.handle_client_request") + rate = self.get_rate("mds", info['name'], + "mds_server.handle_client_request") if output_format not in ('json', 'json-pretty'): activity = "Reqs: " + mgr_util.format_dimless(rate, 5) + "/s" diff --git a/src/pybind/mgr/tox.ini b/src/pybind/mgr/tox.ini index 5b0d8451715a..81e2f5e319e8 100644 --- a/src/pybind/mgr/tox.ini +++ b/src/pybind/mgr/tox.ini @@ -93,6 +93,7 @@ modules = iostat orchestrator prometheus + status telemetry commands = python --version