]> git.apps.os.sepia.ceph.com Git - ceph-ci.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, 27 Jan 2021 11:22:05 +0000 (19:22 +0800)
as commands are collected by COMMANDS already.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/devicehealth/module.py

index 9b5884f82804b70dbe6fac1d2012fcfac5ff7b91..7bc275498975989a5c3ef7f87cd997d0d6998716 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]: