Remove wrong reset_console() method

This commit is contained in:
grossmj 2022-06-21 17:22:47 +02:00
parent 410f062721
commit c5f441e1d3

View File

@ -619,17 +619,6 @@ class Node:
except asyncio.TimeoutError: except asyncio.TimeoutError:
raise ControllerTimeoutError(f"Timeout when reset console {self._name}") raise ControllerTimeoutError(f"Timeout when reset console {self._name}")
async def reset_console(self):
"""
Reset the console
"""
if self._console and self._console_type == "telnet":
try:
await self.post("/console/reset", timeout=240)
except asyncio.TimeoutError:
raise aiohttp.web.HTTPRequestTimeout(text="Timeout when reset console {}".format(self._name))
async def post(self, path, data=None, **kwargs): async def post(self, path, data=None, **kwargs):
""" """
HTTP post on the node HTTP post on the node