Agent: Remove shoudl_agent_stop from IIslandAPIClient

This commit is contained in:
Ilija Lazoroski 2022-09-23 14:11:57 +02:00 committed by Mike Salvatore
parent 3da90223fc
commit 67956358bd
1 changed files with 0 additions and 13 deletions

View File

@ -108,19 +108,6 @@ class IIslandAPIClient(ABC):
:raises IslandAPITimeoutError: If the command timed out
"""
@abstractmethod
def should_agent_stop(self, agent_id: str) -> bool:
"""
Check with the island to see if the agent should stop
:param agent_id: The agent identifier for the agent to check
:raises IslandAPIConnectionError: If the client could not connect to the island
:raises IslandAPIRequestError: If there was a problem with the client request
:raises IslandAPIRequestFailedError: If the server experienced an error
:raises IslandAPITimeoutError: If the command timed out
:return: True if the agent should stop, otherwise False
"""
@abstractmethod
def get_config(self) -> AgentConfiguration:
"""