mirror of https://github.com/Icinga/icinga2.git
Build fix for FreeBSD.
This commit is contained in:
parent
cd30cb48c8
commit
0d15141c7d
|
@ -108,7 +108,7 @@ void HostGroup::ValidateMembersCache(void)
|
|||
Value hostgroup;
|
||||
BOOST_FOREACH(tie(tuples::ignore, hostgroup), dict) {
|
||||
if (!HostGroup::Exists(hostgroup))
|
||||
Logger::Write(LogWarning, "icinga", "Host group '" + hostgroup + "' used but not defined.");
|
||||
Logger::Write(LogWarning, "icinga", "Host group '" + static_cast<String>(hostgroup) + "' used but not defined.");
|
||||
|
||||
m_MembersCache[hostgroup].push_back(host->GetName());
|
||||
}
|
||||
|
|
|
@ -108,7 +108,7 @@ void ServiceGroup::ValidateMembersCache(void)
|
|||
Value servicegroup;
|
||||
BOOST_FOREACH(tie(tuples::ignore, servicegroup), dict) {
|
||||
if (!ServiceGroup::Exists(servicegroup))
|
||||
Logger::Write(LogWarning, "icinga", "Service group '" + servicegroup + "' used but not defined.");
|
||||
Logger::Write(LogWarning, "icinga", "Service group '" + static_cast<String>(servicegroup) + "' used but not defined.");
|
||||
|
||||
m_MembersCache[servicegroup].push_back(service->GetName());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue