summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorVladyslav Drok <vdrok@mirantis.com>2017-04-12 16:13:21 +0300
committerVladyslav Drok <vdrok@mirantis.com>2017-04-13 16:51:03 +0300
commit6196e58270e696cfe81e76338bccc44251666160 (patch)
treeec9df604fd8c011d85fbce8f2fb050bd8d140db7 /setup.cfg
parent20815f5d87d22592b2c9bd5d11c811e38be9d13a (diff)
downloadironic-6196e58270e696cfe81e76338bccc44251666160.tar.gz
Make config generator aware of 'default_log_levels' override
The way it is done in this patch is recommended by the oslo.config documentation in [0], so that the updated default_log_levels value is correctly reflected in the generated ironic.conf.sample file. An oslo.config.opts.defaults entry point is added. [0] https://docs.openstack.org/developer/oslo.config/generator.html Change-Id: Ic200e8d0d721a6c94bd17068a6e5000db930eefd
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index c2663ecf0..aaeaa0d14 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -25,6 +25,9 @@ packages =
oslo.config.opts =
ironic = ironic.conf.opts:list_opts
+oslo.config.opts.defaults =
+ ironic = ironic.conf.opts:update_opt_defaults
+
oslo.policy.enforcer =
ironic = ironic.common.policy:get_oslo_policy_enforcer