Pass a dict configuration file to auth_keystone
This fixes bug #1091754 Change-Id: Iff76a2b499d69fc90c31a23e9c79b1b91f63653e Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
652bd9822d
commit
7471586dd6
@ -49,7 +49,7 @@ if __name__ == '__main__':
|
||||
# Build the WSGI app
|
||||
root = app.setup_app(pecan_config,
|
||||
extra_hooks=[acl.AdminAuthHook()])
|
||||
root = acl.install(root, cfg.CONF)
|
||||
root = acl.install(root, dict(cfg.CONF))
|
||||
|
||||
# Create the WSGI server and start it
|
||||
host, port = '0.0.0.0', int(cfg.CONF.metering_api_port)
|
||||
|
@ -55,7 +55,7 @@ def make_app(enable_acl=True, attach_storage=True):
|
||||
|
||||
# Install the middleware wrapper
|
||||
if enable_acl:
|
||||
return acl.install(app, cfg.CONF)
|
||||
return acl.install(app, dict(cfg.CONF))
|
||||
return app
|
||||
|
||||
# For documentation
|
||||
|
Loading…
x
Reference in New Issue
Block a user