Merge "Report v2.0 as deprecated in version discovery"

changes/35/318435/107
Jenkins 6 years ago committed by Gerrit Code Review
commit bf63a23cd2
  1. 4
      keystone/tests/unit/test_versions.py
  2. 4
      keystone/version/controllers.py

@ -49,8 +49,8 @@ v2_HTML_DESCRIPTION = {
v2_EXPECTED_RESPONSE = {
"id": "v2.0",
"status": "stable",
"updated": "2014-04-17T00:00:00Z",
"status": "deprecated",
"updated": "2016-08-04T00:00:00Z",
"links": [
{
"rel": "self",

@ -119,8 +119,8 @@ class Version(wsgi.Application):
if 'v2.0' in _VERSIONS:
versions['v2.0'] = {
'id': 'v2.0',
'status': 'stable',
'updated': '2014-04-17T00:00:00Z',
'status': 'deprecated',
'updated': '2016-08-04T00:00:00Z',
'links': [
{
'rel': 'self',

Loading…
Cancel
Save