Remove deprecated database_min_pool_size
... because it was deprecated during Ussuri cycle. Change-Id: Ibaf85ab6d2575eef9e238a7c25970b435012589e
This commit is contained in:
parent
4440bd74be
commit
aa0a4b7fed
@ -43,12 +43,6 @@
|
||||
# before error is raised. Set to -1 to specify an infinite retry count.
|
||||
# Defaults to $::os_service_default
|
||||
#
|
||||
# DEPRECATED PARAMETERS
|
||||
#
|
||||
# [*database_min_pool_size*]
|
||||
# (Optional) Minimum number of SQL connections to keep open in a pool.
|
||||
# Defaults to undef
|
||||
#
|
||||
class magnum::db (
|
||||
$database_connection = 'mysql+pymysql://magnum:magnum@localhost:3306/magnum',
|
||||
$database_connection_recycle_time = $::os_service_default,
|
||||
@ -59,16 +53,10 @@ class magnum::db (
|
||||
$database_pool_timeout = $::os_service_default,
|
||||
$mysql_enable_ndb = $::os_service_default,
|
||||
$database_db_max_retries = $::os_service_default,
|
||||
# DEPRECATED PARAMETERS
|
||||
$database_min_pool_size = undef,
|
||||
) {
|
||||
|
||||
include magnum::deps
|
||||
|
||||
if $database_min_pool_size {
|
||||
warning('The database_min_pool_size parameter is deprecated, and will be removed in a future release.')
|
||||
}
|
||||
|
||||
oslo::db { 'magnum_config':
|
||||
connection => $database_connection,
|
||||
connection_recycle_time => $database_connection_recycle_time,
|
||||
|
@ -0,0 +1,4 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
The ``magnum::db::database_min_pool_size`` parameter has been removed.
|
Loading…
Reference in New Issue
Block a user