diff --git a/monkey/monkey_island/cc/setup/mongo/mongo_db_process.py b/monkey/monkey_island/cc/setup/mongo/mongo_db_process.py index 4b0150d99..c8b043249 100644 --- a/monkey/monkey_island/cc/setup/mongo/mongo_db_process.py +++ b/monkey/monkey_island/cc/setup/mongo/mongo_db_process.py @@ -22,7 +22,7 @@ class MongoDbProcess: self.db_dir_parent_path = db_dir_parent_path self.logging_dir_path = logging_dir_path - def launch_mongodb(self): + def start(self): db_path = self._create_db_dir() self._start_mongodb_process(db_path) diff --git a/monkey/monkey_island/cc/setup/mongo/mongo_setup.py b/monkey/monkey_island/cc/setup/mongo/mongo_setup.py index 5accd6f65..b6e86a3e3 100644 --- a/monkey/monkey_island/cc/setup/mongo/mongo_setup.py +++ b/monkey/monkey_island/cc/setup/mongo/mongo_setup.py @@ -22,7 +22,7 @@ def start_mongodb(config_options: IslandConfigOptions): if config_options.start_mongodb: MongoDbProcess( db_dir_parent_path=config_options.data_dir, logging_dir_path=config_options.data_dir - ).launch_mongodb() + ).start() wait_for_mongo_db_server(MONGO_URL) assert_mongo_db_version(MONGO_URL) mongo_connector.connect_dal_to_mongodb()