Island: Change parameter names in ICredentialsRepository.save_*()

This commit is contained in:
Mike Salvatore 2022-07-05 10:48:25 -04:00
parent 2736f058d7
commit 035734992c
2 changed files with 4 additions and 6 deletions

View File

@ -15,11 +15,11 @@ class ICredentialsRepository(ABC):
""" """
pass pass
def save_configured_credentials(self, configured_credentials: Credentials): def save_configured_credentials(self, credentials: Credentials):
""" """
Save credentials which are configured. Save credentials which are configured.
:param configured_credentials: Credentials that are going to be stored :param credentials: Credentials that are going to be stored
:raises StorageError: If an error is encountered while attempting to store configured :raises StorageError: If an error is encountered while attempting to store configured
credentials credentials
""" """
@ -44,11 +44,11 @@ class ICredentialsRepository(ABC):
""" """
pass pass
def save_stolen_credentials(self, stolen_credentials: Credentials): def save_stolen_credentials(self, credentials: Credentials):
""" """
Save credentials which are stolen. Save credentials which are stolen.
:param stolen_credentials: Credentials that are going to be stored :param credentials: Credentials that are going to be stored
:raises StorageError: If an error is encountered while attempting to store stolen :raises StorageError: If an error is encountered while attempting to store stolen
credentials credentials
""" """

View File

@ -238,6 +238,4 @@ IEventRepository.get_events
IFindingRepository.get_findings IFindingRepository.get_findings
key_list key_list
simulation simulation
stolen_credentials
configured_credentials
netmap netmap