Merge "Remove deprecated osapi_volume_base_URL"

This commit is contained in:
Jenkins 2017-10-05 01:18:29 +00:00 committed by Gerrit Code Review
commit 70fcad3739
3 changed files with 7 additions and 8 deletions

View File

@ -37,12 +37,6 @@ api_common_opts = [
default=1000,
help='The maximum number of items that a collection '
'resource returns in a single response'),
cfg.StrOpt('osapi_volume_base_URL',
help='DEPRECATED: Base URL that will be presented to users in '
'links to the OpenStack Volume API',
deprecated_name='osapi_compute_link_prefix',
deprecated_since='Pike',
deprecated_reason='Duplicate config option.'),
cfg.StrOpt('resource_query_filters_file',
default='/etc/cinder/resource_filters.json',
help="Json file indicating user visible filter "

View File

@ -27,8 +27,7 @@ versions_opts = [
"is None, which will use the request's host_url "
"attribute to populate the URL base. If Cinder is "
"operating behind a proxy, you will want to change "
"this to represent the proxy's URL.",
deprecated_name='osapi_volume_base_URL'),
"this to represent the proxy's URL."),
]
CONF = cfg.CONF

View File

@ -0,0 +1,6 @@
---
upgrade:
- |
The `osapi_volume_base_URL` config option was deprecated in Pike and has
now been removed. The `public_endpoint` config option should be used
instead.