Merge "Always reset CONF when starting the wsgi app"
This commit is contained in:
commit
c42626ceff
@ -31,6 +31,9 @@ from cyborg.common import service
|
|||||||
|
|
||||||
def init_application():
|
def init_application():
|
||||||
CONF = cfg.CONF
|
CONF = cfg.CONF
|
||||||
|
# NOTE(hberaud): Call reset to ensure the ConfigOpts object doesn't
|
||||||
|
# already contain registered options if the app is reloaded.
|
||||||
|
CONF.reset()
|
||||||
|
|
||||||
i18n.install('cyborg')
|
i18n.install('cyborg')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user