mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-31 01:24:19 +02:00
Rename Zone#GetAllParents() to Zone#GetAllParentsRaw()
This commit is contained in:
parent
8bac1dc99e
commit
7bcbd9b497
@ -997,7 +997,7 @@ void ApiListener::SyncRelayMessage(const MessageOrigin::Ptr& origin,
|
|||||||
|
|
||||||
bool need_log = !RelayMessageOne(target_zone, origin, message, master);
|
bool need_log = !RelayMessageOne(target_zone, origin, message, master);
|
||||||
|
|
||||||
for (const Zone::Ptr& zone : target_zone->GetAllParents()) {
|
for (const Zone::Ptr& zone : target_zone->GetAllParentsRaw()) {
|
||||||
if (!RelayMessageOne(zone, origin, message, master))
|
if (!RelayMessageOne(zone, origin, message, master))
|
||||||
need_log = true;
|
need_log = true;
|
||||||
}
|
}
|
||||||
|
@ -89,7 +89,7 @@ std::set<Endpoint::Ptr> Zone::GetEndpoints() const
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<Zone::Ptr> Zone::GetAllParents() const
|
std::vector<Zone::Ptr> Zone::GetAllParentsRaw() const
|
||||||
{
|
{
|
||||||
return m_AllParents;
|
return m_AllParents;
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,7 @@ public:
|
|||||||
|
|
||||||
Zone::Ptr GetParent() const;
|
Zone::Ptr GetParent() const;
|
||||||
std::set<Endpoint::Ptr> GetEndpoints() const;
|
std::set<Endpoint::Ptr> GetEndpoints() const;
|
||||||
std::vector<Zone::Ptr> GetAllParents() const;
|
std::vector<Zone::Ptr> GetAllParentsRaw() const;
|
||||||
|
|
||||||
bool CanAccessObject(const ConfigObject::Ptr& object);
|
bool CanAccessObject(const ConfigObject::Ptr& object);
|
||||||
bool IsChildOf(const Zone::Ptr& zone);
|
bool IsChildOf(const Zone::Ptr& zone);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user