Fix a bug with feature set config not being added as expected
The feature set config group was entirely missed from the config tree, and the group itself wasn't setup for lazy_loading despite needing to be based on when it is meant to have config added to it. Change-Id: Ia9569ebb76ffe91d592dbc94bc528bde4aa00fc4
This commit is contained in:
parent
1d5c474dc8
commit
d703a634a4
@ -24,6 +24,7 @@ from adjutant.config import identity
|
||||
from adjutant.config import notification
|
||||
from adjutant.config import quota
|
||||
from adjutant.config import workflow
|
||||
from adjutant.config import feature_sets
|
||||
|
||||
_root_config = groups.ConfigGroup("adjutant")
|
||||
_root_config.register_child_config(django.config_group)
|
||||
@ -32,6 +33,7 @@ _root_config.register_child_config(api.config_group)
|
||||
_root_config.register_child_config(notification.config_group)
|
||||
_root_config.register_child_config(workflow.config_group)
|
||||
_root_config.register_child_config(quota.config_group)
|
||||
_root_config.register_child_config(feature_sets.config_group)
|
||||
|
||||
_config_files = [
|
||||
"/etc/adjutant/adjutant.yaml",
|
||||
|
@ -15,4 +15,4 @@
|
||||
from confspirator import groups
|
||||
|
||||
|
||||
config_group = groups.ConfigGroup("feature_sets")
|
||||
config_group = groups.ConfigGroup("feature_sets", lazy_load=True)
|
||||
|
Loading…
Reference in New Issue
Block a user