Remove deprecated behavior of enabled_notification_handlers
Handling of a false value was deprecated during Yoga cycle[1].
[1] f87bd126b0
Change-Id: I9d96ba4bf12dd4c093aba55d7916598ff24f3327
This commit is contained in:
@@ -59,15 +59,7 @@ class designate::sink (
|
||||
'service:sink/threads': value => $threads;
|
||||
}
|
||||
|
||||
if ! $enabled_notification_handlers {
|
||||
warning('Usage of false value for enabled_notification_handlers is deprecated. \
|
||||
Use $::os_service_default instead')
|
||||
$enabled_notification_handlers_real = $::os_service_default
|
||||
} else {
|
||||
$enabled_notification_handlers_real = $enabled_notification_handlers
|
||||
}
|
||||
|
||||
designate_config {
|
||||
'service:sink/enabled_notification_handlers': value => join(any2array($enabled_notification_handlers_real), ',')
|
||||
'service:sink/enabled_notification_handlers': value => join(any2array($enabled_notification_handlers), ',')
|
||||
}
|
||||
}
|
||||
|
@@ -0,0 +1,6 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
The ``designate::sink::enabled_notification_handlers`` parameter no longer
|
||||
treats a false value to unset the parameter. Use ``$::os_service_default``
|
||||
instead of the service default should be used.
|
Reference in New Issue
Block a user