From 91476a7a066d3d9d71b4822030ee3ef6ad39d25f Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Fri, 17 Jun 2022 11:11:14 -0400 Subject: [PATCH] Island: Protract config -> configuration in IConfigurationRepository --- .../cc/repository/i_configuration_repository.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/monkey/monkey_island/cc/repository/i_configuration_repository.py b/monkey/monkey_island/cc/repository/i_configuration_repository.py index 8d06fc5c7..58a97bce9 100644 --- a/monkey/monkey_island/cc/repository/i_configuration_repository.py +++ b/monkey/monkey_island/cc/repository/i_configuration_repository.py @@ -3,12 +3,12 @@ from abc import ABC from common.configuration import AgentConfiguration -class IConfigRepository(ABC): +class IConfigurationRepository(ABC): """ A repository used to store and retrieve the agent configuration. """ - def get_config(self) -> AgentConfiguration: + def get_configuration(self) -> AgentConfiguration: """ Retrieve the agent configuration from the repository @@ -16,10 +16,10 @@ class IConfigRepository(ABC): """ pass - def set_config(self, agent_config: AgentConfiguration): + def set_configuration(self, agent_configuration: AgentConfiguration): """ Store the agent configuration in the repository - :param agent_config: The agent configuration to store in the repository + :param agent_configuration: The agent configuration to store in the repository """ pass