mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 13:45:04 +02:00
parent
f0f3412f2c
commit
4bc4defc97
@ -1396,8 +1396,13 @@ Value HostsTable::ParentsAccessor(const Value& row)
|
|||||||
|
|
||||||
Value HostsTable::ChildsAccessor(const Value& row)
|
Value HostsTable::ChildsAccessor(const Value& row)
|
||||||
{
|
{
|
||||||
/* TODO */
|
Array::Ptr childs = boost::make_shared<Array>();
|
||||||
return Empty;
|
|
||||||
|
BOOST_FOREACH(const Host::Ptr& child, static_cast<Host::Ptr>(row)->GetChildHosts()) {
|
||||||
|
childs->Add(child->GetName());
|
||||||
|
}
|
||||||
|
|
||||||
|
return childs;
|
||||||
}
|
}
|
||||||
|
|
||||||
Value HostsTable::NumServicesAccessor(const Value& row)
|
Value HostsTable::NumServicesAccessor(const Value& row)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user