Skip to content

Commit

Permalink
refactor: rename merge_Configs to merge_configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Killg0d committed Jan 6, 2025
1 parent 35a0b92 commit 38a23b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/apps/backend/modules/config/config_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class ConfigService:
def load_config() -> None:
app_env_config = ConfigService.initialize_config()
os_env_config = ConfigService.load_environment_variables()
ConfigService._config = ConfigService.merge_Configs(app_env_config,os_env_config)
ConfigService._config = ConfigService.merge_configs(app_env_config,os_env_config)
ConfigService.log_config()

@staticmethod
Expand Down Expand Up @@ -47,7 +47,7 @@ def load_environment_variables() -> ConfigParser:
return env_config

@staticmethod
def merge_Configs(app_env_config:ConfigParser,os_env_config:ConfigParser)->ConfigParser:
def merge_configs(app_env_config:ConfigParser,os_env_config:ConfigParser)->ConfigParser:
merge_config = app_env_config
for section in os_env_config.sections():
if section not in app_env_config.sections():
Expand Down

0 comments on commit 38a23b5

Please sign in to comment.