Merge "Avoid accessing undefined variable"

This commit is contained in:
Zuul 2022-02-15 10:56:19 +00:00 committed by Gerrit Code Review
commit 15773d1be0

View File

@ -41,7 +41,11 @@ class aodh::coordination (
include aodh::deps
if defined('$::aodh::evaluator::coordination_url') {
$backend_url_real = pick($::aodh::evaluator::coordination_url, $backend_url)
} else {
$backend_url_real = $backend_url
}
if $heartbeat != undef {
warning('The heartbeat parmaeter is deprecated. Use the heartbeat_interval parameter instead')