Remove deprecated cache_prefetcher_interval

This parameter was deprecated during the previous cycle[1] and has had
no effect since then.

[1] 89857141d1

Change-Id: I21e59483cef2847b02783a13072745a9f434a318
This commit is contained in:
Takashi Kajinami 2023-03-10 18:30:15 +09:00
parent 293c3d20de
commit 8b0f7ea16d
2 changed files with 4 additions and 12 deletions

View File

@ -266,10 +266,6 @@
# service name removed.
# Defaults to undef
#
# [*cache_prefetcher_interval*]
# (optional) The interval in seconds to run periodic job 'cache_images'
# Defaults to undef.
#
class glance::api(
$package_ensure = 'present',
$bind_host = $facts['os_service_default'],
@ -329,7 +325,6 @@ class glance::api(
$filesystem_store_metadata_file = undef,
$filesystem_store_file_perm = undef,
$pipeline = undef,
$cache_prefetcher_interval = undef,
) inherits glance {
include glance::deps
@ -342,13 +337,6 @@ class glance::api(
}
}
if $cache_prefetcher_interval {
warning('The cache_prefetcher_interval parameter has been deprecate and has no effect.')
}
glance_api_config {
'DEFAULT/cache_prefetcher_interval': ensure => absent;
}
if $sync_db {
include glance::db::sync
include glance::db::metadefs

View File

@ -0,0 +1,4 @@
---
upgrade:
- |
The ``glance::api::cache_prefetcher_interval`` parameter has been removed.