Clean up parameters for service validation
... service validation was deprecated during Yoga cycle by [1]. The parameters were left for interface compatibility but have had no effect since then. [1] 3d5c217596daeafe7620273ab7a0b5dd9ee2d194 Change-Id: I4b2fa2f250576eb811d66c4925f0b9a5cf6bb3ee
This commit is contained in:
@@ -251,19 +251,6 @@
|
|||||||
# properties.
|
# properties.
|
||||||
# Defaults to undef
|
# Defaults to undef
|
||||||
#
|
#
|
||||||
# [*validate*]
|
|
||||||
# (optional) Whether to validate the service is working after any service refreshes
|
|
||||||
# Defaults to undef
|
|
||||||
#
|
|
||||||
# [*validation_options*]
|
|
||||||
# (optional) Service validation options
|
|
||||||
# Should be a hash of options defined in openstacklib::service_validation
|
|
||||||
# If empty, defaults values are taken from openstacklib function.
|
|
||||||
# Default command list images.
|
|
||||||
# Require validate set at True.
|
|
||||||
# Example:
|
|
||||||
# Defaults to undef
|
|
||||||
#
|
|
||||||
# [*scrub_time*]
|
# [*scrub_time*]
|
||||||
# (optional) The amount of time in seconds to delay before performing a delete.
|
# (optional) The amount of time in seconds to delay before performing a delete.
|
||||||
# Defaults to undef
|
# Defaults to undef
|
||||||
@@ -355,8 +342,6 @@ class glance::api(
|
|||||||
$default_store = undef,
|
$default_store = undef,
|
||||||
$multi_store = false,
|
$multi_store = false,
|
||||||
$show_multiple_locations = undef,
|
$show_multiple_locations = undef,
|
||||||
$validate = undef,
|
|
||||||
$validation_options = undef,
|
|
||||||
$scrub_time = undef,
|
$scrub_time = undef,
|
||||||
$cert_file = undef,
|
$cert_file = undef,
|
||||||
$key_file = undef,
|
$key_file = undef,
|
||||||
@@ -371,14 +356,6 @@ class glance::api(
|
|||||||
include glance::policy
|
include glance::policy
|
||||||
include glance::api::db
|
include glance::api::db
|
||||||
|
|
||||||
if $validate != undef {
|
|
||||||
warning('The glance::api::validate parameter has been deprecated and has no effect')
|
|
||||||
}
|
|
||||||
|
|
||||||
if $validation_options != undef {
|
|
||||||
warning('The glance::api::validation_options parameter has been deprecated and has no effect')
|
|
||||||
}
|
|
||||||
|
|
||||||
if $scrub_time != undef {
|
if $scrub_time != undef {
|
||||||
warning('The glance::scrub_time parameter is deprecated and has no effect')
|
warning('The glance::scrub_time parameter is deprecated and has no effect')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
The ``validate`` parameter and the ``validation_options`` parameter of
|
||||||
|
the ``glance::api`` class have been removed.
|
||||||
Reference in New Issue
Block a user