"""
self._ceph_set_health_checks(checks)
- def _handle_command(self, inbuf, cmd):
+ def _handle_command(self, inbuf: str, cmd: Dict[str, Any]):
if cmd['prefix'] not in CLICommand.COMMANDS:
return self.handle_command(inbuf, cmd)
return CLICommand.COMMANDS[cmd['prefix']].call(self, cmd, inbuf)
- def handle_command(self, inbuf, cmd):
+ def handle_command(self, inbuf: str, cmd: Dict[str, Any]):
"""
Called by ceph-mgr to request the plugin to handle one
of the commands that it declared in self.COMMANDS