From 4f97be59c33ef5d11cb020ff63bac3e2c10a2d07 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Thu, 3 Jun 2021 11:06:04 -0400 Subject: [PATCH] island: Rename _initialize_global_resources -> _initialize_globals --- monkey/monkey_island/cc/server_setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monkey/monkey_island/cc/server_setup.py b/monkey/monkey_island/cc/server_setup.py index 0ee516db3..2e1cb2ebe 100644 --- a/monkey/monkey_island/cc/server_setup.py +++ b/monkey/monkey_island/cc/server_setup.py @@ -45,7 +45,7 @@ def run_monkey_island(): config_options, server_config_path = _setup_data_dir(island_args) _configure_logging(config_options) - _initialize_global_resources(config_options, server_config_path) + _initialize_globals(config_options, server_config_path) if config_options.start_mongodb: mongo_db_process = start_mongodb(config_options.data_dir) @@ -72,7 +72,7 @@ def _configure_logging(config_options): setup_logging(config_options.data_dir, config_options.log_level) -def _initialize_global_resources(config_options: IslandConfigOptions, server_config_path: str): +def _initialize_globals(config_options: IslandConfigOptions, server_config_path: str): env_singleton.initialize_from_file(server_config_path) initialize_encryptor(config_options.data_dir)