Merge "Align Vers Neg Middleware to current API"
This commit is contained in:
commit
8a3a5c565d
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user