mirror of https://github.com/Icinga/icinga2.git
RedisWriter#SendStartedDowntime(): send also a config update
This commit is contained in:
parent
747521fa84
commit
9d0e402d92
|
@ -1275,6 +1275,8 @@ void RedisWriter::SendStartedDowntime(const Downtime::Ptr& downtime)
|
||||||
if (!m_Rcon || !m_Rcon->IsConnected())
|
if (!m_Rcon || !m_Rcon->IsConnected())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
SendConfigUpdate(downtime, true);
|
||||||
|
|
||||||
auto service (dynamic_pointer_cast<Service>(downtime->GetCheckable()));
|
auto service (dynamic_pointer_cast<Service>(downtime->GetCheckable()));
|
||||||
auto triggeredBy (Downtime::GetByName(downtime->GetTriggeredBy()));
|
auto triggeredBy (Downtime::GetByName(downtime->GetTriggeredBy()));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue