From 6f285ba80cfb6fd2785087921e954b15baad1e89 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Tue, 30 Aug 2022 07:15:24 -0400 Subject: [PATCH] Island: Rename `id` parameter to `agent_id` in IAgentRepository --- monkey/monkey_island/cc/repository/i_agent_repository.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monkey/monkey_island/cc/repository/i_agent_repository.py b/monkey/monkey_island/cc/repository/i_agent_repository.py index ae254f97f..880b4d7e7 100644 --- a/monkey/monkey_island/cc/repository/i_agent_repository.py +++ b/monkey/monkey_island/cc/repository/i_agent_repository.py @@ -20,11 +20,11 @@ class IAgentRepository(ABC): """ @abstractmethod - def get_agent_by_id(self, id: AgentID) -> Agent: + def get_agent_by_id(self, agent_id: AgentID) -> Agent: """ Get an `Agent` by ID - :param id: The ID of the `Agent` to be retrieved + :param agent_id: The ID of the `Agent` to be retrieved :return: An `Agent` with a matching `id` :raises UnknownRecordError: If an `Agent` with the specified `id` does not exist in the repository