From 6e47d3272dd31e7c390ad87389f01f9e16cc56a4 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Thu, 15 Sep 2022 11:48:12 -0400 Subject: [PATCH] Island: Use monkey_island database in MongoCredentialsRepository --- .../monkey_island/cc/repository/mongo_credentials_repository.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/monkey_island/cc/repository/mongo_credentials_repository.py b/monkey/monkey_island/cc/repository/mongo_credentials_repository.py index 3fdc306a8..20caa288b 100644 --- a/monkey/monkey_island/cc/repository/mongo_credentials_repository.py +++ b/monkey/monkey_island/cc/repository/mongo_credentials_repository.py @@ -20,7 +20,7 @@ class MongoCredentialsRepository(ICredentialsRepository): """ def __init__(self, mongo: MongoClient, repository_encryptor: ILockableEncryptor): - self._database = mongo.monkeyisland + self._database = mongo.monkey_island self._repository_encryptor = repository_encryptor def get_configured_credentials(self) -> Sequence[Credentials]: