[Core] Move readonly key setting closer to config init
This commit is contained in:
parent
2321f32f84
commit
706d53ab4a
@ -137,6 +137,11 @@ class Core(component.Component):
|
|||||||
# GeoIP instance with db loaded
|
# GeoIP instance with db loaded
|
||||||
self.geoip_instance = None
|
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
|
# Get the core config
|
||||||
self.config = ConfigManager('core.conf')
|
self.config = ConfigManager('core.conf')
|
||||||
self.config.save()
|
self.config.save()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user