api_version_request.matches does not accept a string or None
Bug #1550337 reported by
Scott DAngelo
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Scott DAngelo | ||
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Scott DAngelo | ||
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Medium
|
Tom Barron |
Bug Description
According to the Cinder devref (https:/
you should be able to use the following pattern:
def index(self, req):
<common code>
req_version = req.api_
if req_version.
elif req_version.
....other stuff....
elif req_version > api_version_
....more stuff.....
<common code>
However, the api_version_
Fix this to accept a string.
Changed in cinder: | |
assignee: | nobody → Scott DAngelo (scott-dangelo) |
summary: |
- api_version_request.matches does not accept a string + api_version_request.matches does not accept a string or None |
Changed in manila: | |
importance: | Undecided → Medium |
milestone: | none → mitaka-rc1 |
Changed in manila: | |
milestone: | mitaka-rc1 → newton-1 |
Changed in manila: | |
assignee: | Scott DAngelo (scott-dangelo) → Tom Barron (tpb) |
To post a comment you must log in.
I don't see this pattern used in Manila or Nova, but it won't work without a fix.