Modify the URL field in the document, uniform case
Change-Id: Ic3d34cbaf1a940ffb21af50e6453dadd7d1505d6
This commit is contained in:
parent
d34bbb207f
commit
7d85a66c59
@ -74,7 +74,7 @@ class ViewBuilder(object):
|
||||
return links
|
||||
|
||||
def generate_href(self, version, path=None):
|
||||
"""Create an url that refers to a specific version_number."""
|
||||
"""Create an URL that refers to a specific version_number."""
|
||||
if version.find('v1.') == 0:
|
||||
version_number = 'v1'
|
||||
else:
|
||||
|
@ -160,7 +160,7 @@ global_opts = [
|
||||
default=114688,
|
||||
help='Max size for body of a request'),
|
||||
cfg.StrOpt('public_endpoint', default=None,
|
||||
help="Public url to use for versions endpoint. The default "
|
||||
help="Public URL to use for versions endpoint. The default "
|
||||
"is None, which will use the request's host_url "
|
||||
"attribute to populate the URL base. If Venus is "
|
||||
"operating behind a proxy, you will want to change "
|
||||
|
@ -2,7 +2,7 @@ oslo-incubator
|
||||
--------------
|
||||
|
||||
A number of modules from oslo-incubator are imported into this project.
|
||||
You can clone the oslo-incubator repository using the following url:
|
||||
You can clone the oslo-incubator repository using the following URL:
|
||||
|
||||
git://git.openstack.org/openstack/oslo-incubator
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user