From 250f9c9e470c6699dd92b6253df9ac4229656bcc Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sun, 31 Jan 2021 17:47:52 +0800 Subject: [PATCH] pybind/mgr/status: PEP8 cleanups Signed-off-by: Kefu Chai --- src/pybind/mgr/status/module.py | 3 ++- src/pybind/mgr/tox.ini | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pybind/mgr/status/module.py b/src/pybind/mgr/status/module.py index f67bff512bca5..879ab29cf073a 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 5b0d8451715a1..81e2f5e319e8e 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 -- 2.39.5