Merge "Remove deprecated behavior of enabled_notification_handlers"
This commit is contained in:
commit
44b987b6be
|
@ -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.
|
Loading…
Reference in New Issue