]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/devicehealth: remove handle_command()
authorKefu Chai <kchai@redhat.com>
Wed, 27 Jan 2021 06:34:35 +0000 (14:34 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 3 Mar 2021 07:34:15 +0000 (15:34 +0800)
as commands are collected by COMMANDS already.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 1361b3060e7643a3a0f2f59b72eb5d9201c21bcd)

src/pybind/mgr/devicehealth/module.py

index 830003859c8e8c32d8c73e1a4692bd69b0322134..06ad97763bfb9df691dfd7026d0ff8ac2ace6308 100644 (file)
@@ -115,9 +115,6 @@ class Module(MgrModule):
             return False
         return parts[0] in ('osd', 'mon')
 
-    def handle_command(self, _, cmd):
-        self.log.error("handle_command")
-
     @CLICommand('device query-daemon-health-metrics',
                 perm='r')
     def do_query_daemon_health_metrics(self, who: str) -> Tuple[int, str, str]: