mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 15:14:07 +02:00
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)
|
void ClusterComponent::UpdateAuthority(void)
|
||||||
{
|
{
|
||||||
|
Log(LogInformation, "cluster", "Updating authority for objects.");
|
||||||
|
|
||||||
BOOST_FOREACH(const DynamicType::Ptr& type, DynamicType::GetTypes()) {
|
BOOST_FOREACH(const DynamicType::Ptr& type, DynamicType::GetTypes()) {
|
||||||
BOOST_FOREACH(const DynamicObject::Ptr& object, type->GetObjects()) {
|
BOOST_FOREACH(const DynamicObject::Ptr& object, type->GetObjects()) {
|
||||||
object->SetAuthority("checker", IsAuthority(object, "checker"));
|
object->SetAuthority("checker", IsAuthority(object, "checker"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user