From 12b11ce260543711671ae0d2bc47da9c55f0c3a3 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Wed, 2 Jun 2021 15:19:42 -0400 Subject: [PATCH] island: Rename _build_mongo_launch_cmd -> _build_mongo_run_cmd --- monkey/monkey_island/cc/setup/mongo/mongo_db_process.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 3ada3bdb1..29951b1d6 100644 --- a/monkey/monkey_island/cc/setup/mongo/mongo_db_process.py +++ b/monkey/monkey_island/cc/setup/mongo/mongo_db_process.py @@ -25,7 +25,7 @@ class MongoDbProcess: def start(self): logger.info("Starting MongoDb process.") - mongo_run_cmd = MongoDbProcess._build_mongo_launch_cmd(MONGO_EXECUTABLE_PATH, self._db_dir) + mongo_run_cmd = MongoDbProcess._build_mongo_run_cmd(MONGO_EXECUTABLE_PATH, self._db_dir) logger.info(f"Mongodb will be launched with command: {' '.join(mongo_run_cmd)}.") mongo_log_path = os.path.join(self._logging_dir, MONGO_LOG_FILENAME) @@ -49,5 +49,5 @@ class MongoDbProcess: self._process.kill() @staticmethod - def _build_mongo_launch_cmd(exec_path: str, db_dir: str) -> List[str]: + def _build_mongo_run_cmd(exec_path: str, db_dir: str) -> List[str]: return [exec_path, DB_DIR_PARAM, db_dir]