From: Gunnar Beutner Date: Wed, 5 Sep 2012 08:13:24 +0000 (+0200) Subject: Build fix. X-Git-Tag: v0.0.1~113 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=df6de810cd6326aecb1d823b81f00c4743322840;p=icinga2 Build fix. --- diff --git a/cib/service.cpp b/cib/service.cpp index 95b0ffd92..e8d6c74fd 100644 --- a/cib/service.cpp +++ b/cib/service.cpp @@ -23,7 +23,7 @@ using namespace icinga; REGISTER_CLASS(Service); -const int Service::DefaultMaxAttempts = 3; +const int Service::DefaultMaxCheckAttempts = 3; const int Service::DefaultCheckInterval = 5 * 60; const int Service::MinCheckInterval = 15; const int Service::CheckIntervalDivisor = 5; diff --git a/cib/service.h b/cib/service.h index 56dde72fe..406719b12 100644 --- a/cib/service.h +++ b/cib/service.h @@ -52,7 +52,7 @@ public: static bool Exists(const String& name); static Service::Ptr GetByName(const String& name); - static const int DefaultMaxAttempts; + static const int DefaultMaxCheckAttempts; static const int DefaultCheckInterval; static const int MinCheckInterval; static const int CheckIntervalDivisor;