def _run(self, client: OpenrCtrl.Client, json_opt: bool = False) -> None: try: resp = client.getEventLogs() self.print_log_data(resp, json_opt) except TypeError: host_id = client.getMyNodeName() print( "Incompatible return type. Please upgrade Open/R binary on {}". format(host_id))
def _run(self, client: OpenrCtrl.Client, json_opt: bool = False) -> None: resp = client.getEventLogs() self.print_log_data(resp, json_opt)