]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/mgr/status: PEP8 cleanups
authorKefu Chai <kchai@redhat.com>
Sun, 31 Jan 2021 09:47:52 +0000 (17:47 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 3 Feb 2021 09:17:24 +0000 (17:17 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/status/module.py
src/pybind/mgr/tox.ini

index f67bff512bca5c7335b3c53b52805577f483f478..879ab29cf073a17e87eaf9584e5ebecaa509bd27 100644 (file)
@@ -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"
 
index 5b0d8451715a101a5a3728189545410682f10410..81e2f5e319e8e8114627c0a11b0672f6d579123b 100644 (file)
@@ -93,6 +93,7 @@ modules =
     iostat
     orchestrator
     prometheus
+    status
     telemetry
 commands =
     python --version