From 1361b3060e7643a3a0f2f59b72eb5d9201c21bcd Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 27 Jan 2021 14:34:35 +0800 Subject: [PATCH] mgr/devicehealth: remove handle_command() as commands are collected by COMMANDS already. Signed-off-by: Kefu Chai --- src/pybind/mgr/devicehealth/module.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/pybind/mgr/devicehealth/module.py b/src/pybind/mgr/devicehealth/module.py index 9b5884f8280..7bc27549897 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]: -- 2.47.3