Mark the v1 API as deprecated

The Volume API spec says that the v1 should be marked as "DEPRECATED"
when querying the version[1]. However, when that API was deprecated in
dce0424d9, it was marked as "SUPPORTED", so there is a conflict between
the spec and the actual behavior. This patch updates the query to match
the documentation. This affects how keystoneauth discovers versions.

[1] http://developer.openstack.org/api-ref-blockstorage-v1.html#listVersionsv1

Change-Id: I0c073fdc3ed1c51662ce06c05911e50efbdbb3a4
This commit is contained in:
Colleen Murphy 2016-04-22 22:19:46 -07:00
parent 8091e9f737
commit e2cf841451
1 changed files with 2 additions and 2 deletions

View File

@ -45,10 +45,10 @@ _MEDIA_TYPES = [{
_KNOWN_VERSIONS = {
"v1.0": {
"id": "v1.0",
"status": "SUPPORTED",
"status": "DEPRECATED",
"version": "",
"min_version": "",
"updated": "2014-06-28T12:20:21Z",
"updated": "2016-05-02T20:25:19Z",
"links": _LINKS,
"media-types": _MEDIA_TYPES,
},