mirror of https://github.com/Icinga/icinga2.git
Add debug message.
This commit is contained in:
parent
e383a3cc3e
commit
5495b0279e
|
@ -1203,6 +1203,8 @@ bool ClusterComponent::IsAuthority(const DynamicObject::Ptr& object, const Strin
|
|||
|
||||
void ClusterComponent::UpdateAuthority(void)
|
||||
{
|
||||
Log(LogInformation, "cluster", "Updating authority for objects.");
|
||||
|
||||
BOOST_FOREACH(const DynamicType::Ptr& type, DynamicType::GetTypes()) {
|
||||
BOOST_FOREACH(const DynamicObject::Ptr& object, type->GetObjects()) {
|
||||
object->SetAuthority("checker", IsAuthority(object, "checker"));
|
||||
|
|
Loading…
Reference in New Issue