Deprecate verbose option in logging
Option "verbose" from group "DEFAULT" is deprecated for removal. The parameter has no effect. -update warning message and release note. If this option is not set explicitly, there is no such warning. Change-Id: If19791458b0b5e89d7919a7c8a3c36edd613f580
This commit is contained in:
@@ -157,7 +157,8 @@
|
|||||||
#
|
#
|
||||||
# DEPREACTED PARAMETERS
|
# DEPREACTED PARAMETERS
|
||||||
# [*verbose*]
|
# [*verbose*]
|
||||||
# Defaults to false
|
# Deprecated.
|
||||||
|
# Defaults to undef
|
||||||
# [*tenant_name*]
|
# [*tenant_name*]
|
||||||
# Defaults to undef
|
# Defaults to undef
|
||||||
# [*alt_tenant_name*]
|
# [*alt_tenant_name*]
|
||||||
@@ -270,7 +271,7 @@ class tempest(
|
|||||||
$img_dir = '/var/lib/tempest',
|
$img_dir = '/var/lib/tempest',
|
||||||
$img_file = 'cirros-0.3.4-x86_64-disk.img',
|
$img_file = 'cirros-0.3.4-x86_64-disk.img',
|
||||||
# DEPRECATED PARAMETERS
|
# DEPRECATED PARAMETERS
|
||||||
$verbose = false,
|
$verbose = undef,
|
||||||
$tenant_name = undef,
|
$tenant_name = undef,
|
||||||
$alt_tenant_name = undef,
|
$alt_tenant_name = undef,
|
||||||
$admin_tenant_name = undef,
|
$admin_tenant_name = undef,
|
||||||
@@ -278,7 +279,7 @@ class tempest(
|
|||||||
) {
|
) {
|
||||||
|
|
||||||
if $verbose {
|
if $verbose {
|
||||||
warning('verbose is deprecated and does nothing. Will be removed in a future release.')
|
warning('verbose is deprecated, has no effect and will be removed after Newton cycle.')
|
||||||
}
|
}
|
||||||
|
|
||||||
if $tenant_name {
|
if $tenant_name {
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
deprecations:
|
deprecations:
|
||||||
- verbose parameter is deprecated and does nothing. It will be removed
|
- verbose parameter is deprecated and does nothing. It will be removed
|
||||||
in a future release.
|
after Newton cycle.
|
||||||
|
Reference in New Issue
Block a user