mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Fix incorrect brace placement
This commit is contained in:
parent
37ffda131e
commit
be4166b99e
@ -146,8 +146,7 @@ void Dependency::EvaluateApplyRules(const Host::Ptr& host)
|
||||
{
|
||||
CONTEXT("Evaluating 'apply' rules for host '" + host->GetName() + "'");
|
||||
|
||||
BOOST_FOREACH(ApplyRule& rule, ApplyRule::GetRules("Dependency"))
|
||||
{
|
||||
BOOST_FOREACH(ApplyRule& rule, ApplyRule::GetRules("Dependency")) {
|
||||
if (rule.GetTargetType() != "Host")
|
||||
continue;
|
||||
|
||||
@ -165,8 +164,7 @@ void Dependency::EvaluateApplyRules(const Service::Ptr& service)
|
||||
{
|
||||
CONTEXT("Evaluating 'apply' rules for service '" + service->GetName() + "'");
|
||||
|
||||
BOOST_FOREACH(ApplyRule& rule, ApplyRule::GetRules("Dependency"))
|
||||
{
|
||||
BOOST_FOREACH(ApplyRule& rule, ApplyRule::GetRules("Dependency")) {
|
||||
if (rule.GetTargetType() != "Service")
|
||||
continue;
|
||||
|
||||
|
@ -164,8 +164,7 @@ void Notification::EvaluateApplyRules(const Service::Ptr& service)
|
||||
{
|
||||
CONTEXT("Evaluating 'apply' rules for service '" + service->GetName() + "'");
|
||||
|
||||
BOOST_FOREACH(ApplyRule& rule, ApplyRule::GetRules("Notification"))
|
||||
{
|
||||
BOOST_FOREACH(ApplyRule& rule, ApplyRule::GetRules("Notification")) {
|
||||
if (rule.GetTargetType() != "Service")
|
||||
continue;
|
||||
|
||||
|
@ -144,8 +144,7 @@ void ScheduledDowntime::EvaluateApplyRules(const Host::Ptr& host)
|
||||
{
|
||||
CONTEXT("Evaluating 'apply' rules for host '" + host->GetName() + "'");
|
||||
|
||||
BOOST_FOREACH(ApplyRule& rule, ApplyRule::GetRules("ScheduledDowntime"))
|
||||
{
|
||||
BOOST_FOREACH(ApplyRule& rule, ApplyRule::GetRules("ScheduledDowntime")) {
|
||||
if (rule.GetTargetType() != "Host")
|
||||
continue;
|
||||
|
||||
@ -163,8 +162,7 @@ void ScheduledDowntime::EvaluateApplyRules(const Service::Ptr& service)
|
||||
{
|
||||
CONTEXT("Evaluating 'apply' rules for service '" + service->GetName() + "'");
|
||||
|
||||
BOOST_FOREACH(ApplyRule& rule, ApplyRule::GetRules("ScheduledDowntime"))
|
||||
{
|
||||
BOOST_FOREACH(ApplyRule& rule, ApplyRule::GetRules("ScheduledDowntime")) {
|
||||
if (rule.GetTargetType() != "Service")
|
||||
continue;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user