Merge "Update and replace http with https for doc links in aodh"
This commit is contained in:
commit
58a41ea9dd
@ -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, },
|
||||||
|
@ -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',
|
||||||
}
|
}
|
||||||
|
@ -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"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user