diff options
author | Doug Hellmann <doug@doughellmann.com> | 2016-03-11 16:06:11 -0500 |
---|---|---|
committer | Doug Hellmann <doug@doughellmann.com> | 2016-03-11 16:06:17 -0500 |
commit | bb2b5a9c02a5719c064c75708304b8825a60e888 (patch) | |
tree | f381fdb4021a1b5540a1356bba50dd45395a488c /setup.cfg | |
parent | a131d73ab15dc8e83eed37b2bc61459e89ea5170 (diff) | |
download | cinder-bb2b5a9c02a5719c064c75708304b8825a60e888.tar.gz |
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: Doug Hellmann <doug@doughellmann.com>
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -48,7 +48,7 @@ oslo.config.opts = oslo.messaging = oslo_messaging.opts:list_opts oslo.db.concurrency = oslo.db.concurrency:list_opts oslo.config.opts.defaults = - oslo.middleware = cinder.common.config:set_middleware_defaults + cinder = cinder.common.config:set_middleware_defaults console_scripts = cinder-all = cinder.cmd.all:main cinder-api = cinder.cmd.api:main |