mirror of https://github.com/Icinga/icinga2.git
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);
|
||||
|
||||
for (const Zone::Ptr& zone : target_zone->GetAllParents()) {
|
||||
for (const Zone::Ptr& zone : target_zone->GetAllParentsRaw()) {
|
||||
if (!RelayMessageOne(zone, origin, message, master))
|
||||
need_log = true;
|
||||
}
|
||||
|
|
|
@ -89,7 +89,7 @@ std::set<Endpoint::Ptr> Zone::GetEndpoints() const
|
|||
return result;
|
||||
}
|
||||
|
||||
std::vector<Zone::Ptr> Zone::GetAllParents() const
|
||||
std::vector<Zone::Ptr> Zone::GetAllParentsRaw() const
|
||||
{
|
||||
return m_AllParents;
|
||||
}
|
||||
|
|
|
@ -40,7 +40,7 @@ public:
|
|||
|
||||
Zone::Ptr GetParent() 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 IsChildOf(const Zone::Ptr& zone);
|
||||
|
|
Loading…
Reference in New Issue