From 7d85a66c5963cb6ca1d3cd15b35736d8d555fae0 Mon Sep 17 00:00:00 2001 From: maliangyi Date: Wed, 13 Sep 2023 15:15:21 +0800 Subject: [PATCH] Modify the URL field in the document, uniform case Change-Id: Ic3d34cbaf1a940ffb21af50e6453dadd7d1505d6 --- venus/api/v1/views/versions.py | 2 +- venus/conf/common.py | 2 +- venus/openstack/common/README | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/venus/api/v1/views/versions.py b/venus/api/v1/views/versions.py index 08d63e3..a3099d9 100644 --- a/venus/api/v1/views/versions.py +++ b/venus/api/v1/views/versions.py @@ -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: diff --git a/venus/conf/common.py b/venus/conf/common.py index e3e38a3..15f0371 100644 --- a/venus/conf/common.py +++ b/venus/conf/common.py @@ -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 " diff --git a/venus/openstack/common/README b/venus/openstack/common/README index a27e008..7096ed1 100644 --- a/venus/openstack/common/README +++ b/venus/openstack/common/README @@ -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