Make Paste use default configs
Instead of specifying a custom location for the Marconi configuration file through Paste, just use the defaults as specified by our config module. Change-Id: Ia01e262e298f953412a36c75614c7656c3105db1 Implements: blueprint config-module
This commit is contained in:
parent
0f77d41a96
commit
32150c643e
@ -12,4 +12,3 @@ admin_password = %SERVICE_PASSWORD%
|
||||
|
||||
[app:marconi]
|
||||
paste.app_factory = lib.marconi_paste:WSGI.app_factory
|
||||
config_file = marconi.conf-sample
|
||||
|
@ -19,7 +19,6 @@ import marconi
|
||||
class WSGI(object):
|
||||
@staticmethod
|
||||
def app_factory(global_config, **local_config):
|
||||
bootstrap = marconi.Bootstrap(global_config['here'] + '/' +
|
||||
local_config['config_file'])
|
||||
bootstrap = marconi.Bootstrap()
|
||||
|
||||
return bootstrap.transport.app
|
||||
|
Loading…
Reference in New Issue
Block a user