RedisWriter#SendStartedDowntime(): send also a config update

This commit is contained in:
Alexander A. Klimov 2019-10-21 15:22:09 +02:00 committed by Michael Friedrich
parent 747521fa84
commit 9d0e402d92
1 changed files with 2 additions and 0 deletions

View File

@ -1275,6 +1275,8 @@ void RedisWriter::SendStartedDowntime(const Downtime::Ptr& downtime)
if (!m_Rcon || !m_Rcon->IsConnected())
return;
SendConfigUpdate(downtime, true);
auto service (dynamic_pointer_cast<Service>(downtime->GetCheckable()));
auto triggeredBy (Downtime::GetByName(downtime->GetTriggeredBy()));