island: Rename _build_mongo_launch_cmd -> _build_mongo_run_cmd

This commit is contained in:
Mike Salvatore 2021-06-02 15:19:42 -04:00
parent 3b958f5a61
commit 12b11ce260
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ class MongoDbProcess:
def start(self): def start(self):
logger.info("Starting MongoDb process.") 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)}.") 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) mongo_log_path = os.path.join(self._logging_dir, MONGO_LOG_FILENAME)
@ -49,5 +49,5 @@ class MongoDbProcess:
self._process.kill() self._process.kill()
@staticmethod @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] return [exec_path, DB_DIR_PARAM, db_dir]