Update gnocchi wsgi function

Gnocchi's wsgi application function was moved in a recent upstream commit.

Change-Id: I47f7a4796208a0e4fe5a803718dfa5900275162f
This commit is contained in:
Jimmy McCrory 2017-09-21 14:49:19 -07:00
parent 37226686a4
commit 9cb387d7e9
1 changed files with 2 additions and 1 deletions

View File

@ -18,5 +18,6 @@ activate_this = os.path.expanduser("{{ gnocchi_bin }}/activate_this.py")
execfile(activate_this, dict(__file__=activate_this))
from gnocchi.rest import app
from gnocchi import service
application = app.build_wsgi_app()
application = app.load_app(service.prepare_service())