]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
pybind/mgr/devicehealth: fix command name
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 12 Apr 2021 17:33:57 +0000 (10:33 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 12 Apr 2021 17:37:50 +0000 (10:37 -0700)
Regression: 61bb1691f453a137cf4d50467af233fd3db7f897
Fixes: https://tracker.ceph.com/issues/50304
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/pybind/mgr/devicehealth/module.py

index 4b38cb401576c7bd00acf2ac55c440648f29dcd2..ed752fe15b0c93d7255acf81028e3b334fa75f48 100644 (file)
@@ -165,7 +165,7 @@ class Module(MgrModule):
         (daemon_type, daemon_id) = who.split('.')
         return self.scrape_daemon(daemon_type, daemon_id)
 
-    @CLICommand('device scrape-daemon-health-metrics',
+    @CLICommand('device scrape-health-metrics',
                 perm='r')
     def do_scrape_health_metrics(self, devid: Optional[str] = None) -> Tuple[int, str, str]:
         '''