mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +02:00
Exporter: export services, not tables
This commit is contained in:
parent
37954e0aa6
commit
5686629e27
@ -254,12 +254,16 @@ class Exporter
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($this->getHostServiceSetTables($host) as $service) {
|
||||
$services[] = $service;
|
||||
foreach ($this->getHostServiceSetTables($host) as $table) {
|
||||
foreach ($this->fetchServicesForTable($table) as $service) {
|
||||
$services[] = $service;
|
||||
}
|
||||
}
|
||||
foreach ($parents as $parent) {
|
||||
foreach ($this->getHostServiceSetTables($parent, $host) as $service) {
|
||||
$services[] = $service;
|
||||
foreach ($this->getHostServiceSetTables($parent, $host) as $table) {
|
||||
foreach ($this->fetchServicesForTable($table) as $service) {
|
||||
$services[] = $service;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user