[Core] Move readonly key setting closer to config init

This commit is contained in:
Calum Lind 2017-01-18 14:31:55 +00:00
parent 2321f32f84
commit 706d53ab4a
1 changed files with 5 additions and 0 deletions

View File

@ -137,6 +137,11 @@ class Core(component.Component):
# GeoIP instance with db loaded
self.geoip_instance = None
# These keys will be dropped from the set_config() RPC and are
# configurable from the command-line.
self.read_only_config_keys = read_only_config_keys
log.debug('read_only_config_keys: %s', read_only_config_keys)
# Get the core config
self.config = ConfigManager('core.conf')
self.config.save()