Flaskification cleanup

Cleaning up 2 minor changes that were missed in the initial
flaskification change.

Change-Id: I27e7a506a9fd03fd1fb9efd8666d187cba965769
This commit is contained in:
Morgan Fainberg 2018-06-06 10:35:16 -07:00
parent 0211cdd05f
commit a11d6ca0eb
2 changed files with 3 additions and 5 deletions

View File

@ -126,10 +126,9 @@ class KeystoneDispatcherMiddleware(werkzeug.wsgi.DispatcherMiddleware):
# legacy and only applies to the "apps" that make up each
# keystone subsystem.
#
# [OPINION] All subsystems should have been built
# as "separate" wsgi apps and dispatched this way. It would
# have eliminated a ton of "cross-talk" that has bitten us
# in the past.
# This middleware is only used in support of the transition
# process from webob and home-rolled WSGI framework to
# Flask
if script.rindex('/') > 0:
script, last_element = script.rsplit('/', 1)
last_element = '/%s' % last_element

View File

@ -184,7 +184,6 @@ oslo.policy.enforcer =
keystone = keystone.common.policy:get_enforcer
keystone.server_middleware =
healthcheck = oslo_middleware:Healthcheck
cors = oslo_middleware:CORS
sizelimit = oslo_middleware:RequestBodySizeLimiter
http_proxy_to_wsgi = oslo_middleware:HTTPProxyToWSGI