mirror of https://github.com/Icinga/icinga2.git
Remove unused variables.
This commit is contained in:
parent
282acd94ec
commit
c12b4b2e0b
|
@ -181,15 +181,12 @@ void CompatLog::TriggerDowntimeHandler(const Service::Ptr& service, const Dictio
|
||||||
if (!downtime)
|
if (!downtime)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
String downtime_output = "Service has entered a period of scheduled downtime.";
|
|
||||||
String downtime_state_str = "STARTED";
|
|
||||||
|
|
||||||
std::ostringstream msgbuf;
|
std::ostringstream msgbuf;
|
||||||
msgbuf << "SERVICE DOWNTIME ALERT: "
|
msgbuf << "SERVICE DOWNTIME ALERT: "
|
||||||
<< host->GetName() << ";"
|
<< host->GetName() << ";"
|
||||||
<< service->GetShortName() << ";"
|
<< service->GetShortName() << ";"
|
||||||
<< downtime_state_str << "; "
|
<< "STARTED" << "; "
|
||||||
<< downtime_output
|
<< "Service has entered a period of scheduled downtime."
|
||||||
<< "";
|
<< "";
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -201,8 +198,8 @@ void CompatLog::TriggerDowntimeHandler(const Service::Ptr& service, const Dictio
|
||||||
std::ostringstream msgbuf;
|
std::ostringstream msgbuf;
|
||||||
msgbuf << "HOST DOWNTIME ALERT: "
|
msgbuf << "HOST DOWNTIME ALERT: "
|
||||||
<< host->GetName() << ";"
|
<< host->GetName() << ";"
|
||||||
<< downtime_state_str << "; "
|
<< "STARTED" << "; "
|
||||||
<< downtime_output
|
<< "Service has entered a period of scheduled downtime."
|
||||||
<< "";
|
<< "";
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue