Fix wrong links in horizon

Some docs links have changed.
We should update the wrong links in our codes.

Change-Id: Ia726eaa4d3154a4152d1f685349de98386f42ef0
This commit is contained in:
yanghuichan 2017-09-07 14:45:02 +08:00
parent 5428b96c2c
commit c1d91d21a4
4 changed files with 7 additions and 6 deletions

View File

@ -39,7 +39,7 @@
* retrieved from a service API. Other types might include Nova servers or * retrieved from a service API. Other types might include Nova servers or
* Swift objects. The HEAT type names are listed: * Swift objects. The HEAT type names are listed:
* *
* http://docs.openstack.org/developer/heat/template_guide/openstack.html * https://docs.openstack.org/heat/latest/template_guide/openstack.html
* *
* Each resource type is a singleton; to create or retrieve the type use: * Each resource type is a singleton; to create or retrieve the type use:
* *

View File

@ -24,7 +24,8 @@ LOG = logging.getLogger(__name__)
# entry should be the current service version when the feature was added to # entry should be the current service version when the feature was added to
# horizon. # horizon.
# Further documentation can be found at # Further documentation can be found at
# http://docs.openstack.org/developer/horizon/topics/microversion_support.html # https://docs.openstack.org/horizon/latest/contributor/topics/
# microversion_support.html
MICROVERSION_FEATURES = { MICROVERSION_FEATURES = {
"nova": { "nova": {
"locked_attribute": ["2.9", "2.42"] "locked_attribute": ["2.9", "2.42"]

View File

@ -230,7 +230,7 @@ class Images(generic.View):
class MetadefsNamespaces(generic.View): class MetadefsNamespaces(generic.View):
"""API for Single Glance Metadata Definitions. """API for Single Glance Metadata Definitions.
http://docs.openstack.org/developer/glance/metadefs-concepts.html https://docs.openstack.org/glance/latest/user/metadefs-concepts.html
""" """
url_regex = r'glance/metadefs/namespaces/$' url_regex = r'glance/metadefs/namespaces/$'
@ -282,7 +282,7 @@ class MetadefsNamespaces(generic.View):
class MetadefsResourceTypesList(generic.View): class MetadefsResourceTypesList(generic.View):
"""API for getting Metadata Definitions Resource Types List. """API for getting Metadata Definitions Resource Types List.
http://docs.openstack.org/developer/glance/metadefs-concepts.html https://docs.openstack.org/glance/latest/user/metadefs-concepts.html
""" """
url_regex = r'glance/metadefs/resourcetypes/$' url_regex = r'glance/metadefs/resourcetypes/$'

View File

@ -340,7 +340,7 @@
* @description * @description
* Get a list of metadata definition namespaces. * Get a list of metadata definition namespaces.
* *
* http://docs.openstack.org/developer/glance/metadefs-concepts.html * https://docs.openstack.org/glance/latest/user/metadefs-concepts.html
* *
* The listing result is an object with property "items". Each item is * The listing result is an object with property "items". Each item is
* a namespace. * a namespace.
@ -407,7 +407,7 @@
* @description * @description
* Get a list of metadata definition resource types. * Get a list of metadata definition resource types.
* *
* http://docs.openstack.org/developer/glance/metadefs-concepts.html * https://docs.openstack.org/glance/latest/user/metadefs-concepts.html
* *
* The listing result is an object with property "items". * The listing result is an object with property "items".
* Each item is a resource type. Resource types are Strings that * Each item is a resource type. Resource types are Strings that