island: Rename launch_mongodb() -> start()

This commit is contained in:
Mike Salvatore 2021-06-02 13:24:58 -04:00
parent d35099fa9b
commit dc40713683
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ class MongoDbProcess:
self.db_dir_parent_path = db_dir_parent_path self.db_dir_parent_path = db_dir_parent_path
self.logging_dir_path = logging_dir_path self.logging_dir_path = logging_dir_path
def launch_mongodb(self): def start(self):
db_path = self._create_db_dir() db_path = self._create_db_dir()
self._start_mongodb_process(db_path) self._start_mongodb_process(db_path)

View File

@ -22,7 +22,7 @@ def start_mongodb(config_options: IslandConfigOptions):
if config_options.start_mongodb: if config_options.start_mongodb:
MongoDbProcess( MongoDbProcess(
db_dir_parent_path=config_options.data_dir, logging_dir_path=config_options.data_dir 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) wait_for_mongo_db_server(MONGO_URL)
assert_mongo_db_version(MONGO_URL) assert_mongo_db_version(MONGO_URL)
mongo_connector.connect_dal_to_mongodb() mongo_connector.connect_dal_to_mongodb()