Commit bce3d8b5 authored by Doug Hellmann's avatar Doug Hellmann

register the config generator default hook with the right name

No config generator hooks should ever be registered with a name that
belongs to another project. In this case, using oslo.middleware.cors
means that *every other project* that loads the middleware gets this
application's defaults when the generator is run on a system with
everything installed (such as a dev box with devstack). Use the name
of the app instead, to ensure that the defaults are only set when this
app's sample config and documentation are being generated.

Change-Id: I6a8c7d44b9db9325003ff2fdb667b0ced7739e96
Signed-off-by: 's avatarDoug Hellmann <>
parent 2a222396
...@@ -269,7 +269,7 @@ oslo.config.opts = ...@@ -269,7 +269,7 @@ oslo.config.opts =
ceilometer = ceilometer.opts:list_opts ceilometer = ceilometer.opts:list_opts
oslo.config.opts.defaults = oslo.config.opts.defaults =
oslo.middleware.cors = ceilometer.conf.defaults:set_cors_middleware_defaults ceilometer = ceilometer.conf.defaults:set_cors_middleware_defaults
keystoneauth1.plugin = keystoneauth1.plugin =
password-ceilometer-legacy = ceilometer.keystone_client:LegacyCeilometerKeystoneLoader password-ceilometer-legacy = ceilometer.keystone_client:LegacyCeilometerKeystoneLoader
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment