Merge "Always reset CONF when starting the wsgi app"

This commit is contained in:
Zuul 2020-07-15 13:26:24 +00:00 committed by Gerrit Code Review
commit c42626ceff

View File

@ -31,6 +31,9 @@ from cyborg.common import service
def init_application():
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')