Merge "Align Vers Neg Middleware to current API"

This commit is contained in:
Zuul 2018-02-08 18:36:22 +00:00 committed by Gerrit Code Review
commit 8a3a5c565d

View File

@ -84,8 +84,7 @@ class VersionNegotiationFilter(wsgi.Middleware):
allowed_versions['v2.3'] = 2
allowed_versions['v2.4'] = 2
allowed_versions['v2.5'] = 2
if CONF.enable_image_import:
allowed_versions['v2.6'] = 2
allowed_versions['v2.6'] = 2
return allowed_versions
def _match_version_string(self, subject):