Fix incorrect brace placement

This commit is contained in:
Gunnar Beutner 2014-12-08 11:43:33 +01:00
parent 37ffda131e
commit be4166b99e
3 changed files with 5 additions and 10 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;