mirror of https://github.com/Icinga/icinga2.git
Fix parameter type for Service::RemoveDowntime.
This commit is contained in:
parent
db2f7d5bf3
commit
282acd94ec
|
@ -123,7 +123,7 @@ String Service::AddDowntime(const String& comment_id,
|
||||||
return uid;
|
return uid;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Service::RemoveDowntime(const String& id, const bool& cancelled, const String& authority)
|
void Service::RemoveDowntime(const String& id, bool cancelled, const String& authority)
|
||||||
{
|
{
|
||||||
Service::Ptr owner = GetOwnerByDowntimeID(id);
|
Service::Ptr owner = GetOwnerByDowntimeID(id);
|
||||||
|
|
||||||
|
|
|
@ -262,7 +262,7 @@ public:
|
||||||
const String& triggeredBy, double duration,
|
const String& triggeredBy, double duration,
|
||||||
const String& id = String(), const String& authority = String());
|
const String& id = String(), const String& authority = String());
|
||||||
|
|
||||||
static void RemoveDowntime(const String& id, const bool& cancelled, const String& = String());
|
static void RemoveDowntime(const String& id, bool cancelled, const String& = String());
|
||||||
|
|
||||||
void TriggerDowntimes(void);
|
void TriggerDowntimes(void);
|
||||||
static void TriggerDowntime(const String& id);
|
static void TriggerDowntime(const String& id);
|
||||||
|
|
Loading…
Reference in New Issue