From 08bac8ef39f55288fbf55d96d9a49b22673dfc21 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Mon, 27 Jun 2022 09:24:32 -0400 Subject: [PATCH] Island: Added "raises" to store_configuration() docstring --- .../cc/repository/i_agent_configuration_repository.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/monkey/monkey_island/cc/repository/i_agent_configuration_repository.py b/monkey/monkey_island/cc/repository/i_agent_configuration_repository.py index 1e85fadf5..ef63121c2 100644 --- a/monkey/monkey_island/cc/repository/i_agent_configuration_repository.py +++ b/monkey/monkey_island/cc/repository/i_agent_configuration_repository.py @@ -15,7 +15,7 @@ class IAgentConfigurationRepository(ABC): :return: The agent configuration as retrieved from the repository, or the default configuration if the repository is empty - :raises RetrievalError: if the configuration could not be retrieved + :raises RetrievalError: If the configuration could not be retrieved """ pass @@ -25,5 +25,6 @@ class IAgentConfigurationRepository(ABC): Store the agent configuration in the repository :param agent_configuration: The agent configuration to store in the repository + :raises StorageError: If the configuration could not be stored """ pass