]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/mgr/devicehealth: fix command name 41089/head
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 12 Apr 2021 17:33:57 +0000 (10:33 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 29 Apr 2021 17:25:59 +0000 (10:25 -0700)
Regression: 61bb1691f453a137cf4d50467af233fd3db7f897
Fixes: https://tracker.ceph.com/issues/50304
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 05c0ddbb011a3e7d5ca998331b82720acc05c9cf)

src/pybind/mgr/devicehealth/module.py

index 54b1f5b0dfc16d16d75ad4847b2aa31bf6de8df5..b40cba4f08c528e866441b5f509785d979776e8b 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]:
         '''