From: Kefu Chai Date: Wed, 27 Jan 2021 06:34:35 +0000 (+0800) Subject: mgr/devicehealth: remove handle_command() X-Git-Tag: v17.1.0~3148^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1361b3060e7643a3a0f2f59b72eb5d9201c21bcd;p=ceph.git mgr/devicehealth: remove handle_command() as commands are collected by COMMANDS already. Signed-off-by: Kefu Chai --- diff --git a/src/pybind/mgr/devicehealth/module.py b/src/pybind/mgr/devicehealth/module.py index 9b5884f82804..7bc275498975 100644 --- a/src/pybind/mgr/devicehealth/module.py +++ b/src/pybind/mgr/devicehealth/module.py @@ -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]: