[go: up one dir, main page]

Skip to content

Commit

Permalink
Initialize runtime before bridge config
Browse files Browse the repository at this point in the history
  • Loading branch information
alexyao2015 committed Nov 14, 2020
1 parent 033284d commit f63fd79
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/core/configManager/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@

coreConfig = configStorage.configStorage()

bridgeConfig = bridgeConfigHandler.Config(coreConfig.bridge_config)
runtimeConfig = runtimeConfigHandler.Config()

# Initialize runtime configuration
runtimeConfig = runtimeConfigHandler.Config()
runtimeConfig.populate()
argumentHandler.process_arguments(runtimeConfig.arg)
coreConfig.initialize_certificate()

# Initialize bridge config
bridgeConfig = bridgeConfigHandler.Config(coreConfig.bridge_config)
bridgeConfig.generate_security_key()
bridgeConfig.write_args(runtimeConfig.arg)

Expand Down

0 comments on commit f63fd79

Please sign in to comment.