Merge "Update and replace http with https for doc links in aodh"

This commit is contained in:
Jenkins 2017-08-02 15:28:49 +00:00 committed by Gerrit Code Review
commit 58a41ea9dd
3 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@ def version_descriptor(base_url, version, released_on):
'id': version, 'id': version,
'links': [ 'links': [
{'href': url, 'rel': 'self', }, {'href': url, 'rel': 'self', },
{'href': 'http://docs.openstack.org/', {'href': 'https://docs.openstack.org/',
'rel': 'describedby', 'type': 'text/html', }], 'rel': 'describedby', 'type': 'text/html', }],
'media-types': [ 'media-types': [
{'base': 'application/json', 'type': MEDIA_TYPE_JSON % version, }, {'base': 'application/json', 'type': MEDIA_TYPE_JSON % version, },

View File

@ -26,7 +26,7 @@ V2_MEDIA_TYPES = [
] ]
V2_HTML_DESCRIPTION = { V2_HTML_DESCRIPTION = {
'href': 'http://docs.openstack.org/', 'href': 'https://docs.openstack.org/',
'rel': 'describedby', 'rel': 'describedby',
'type': 'text/html', 'type': 'text/html',
} }

View File

@ -24,7 +24,7 @@ Sample response::
"rel": "self" "rel": "self"
}, },
{ {
"href": "http://docs.openstack.org/", "href": "https://docs.openstack.org/",
"rel": "describedby", "rel": "describedby",
"type": "text/html" "type": "text/html"
} }