mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-27 15:54:03 +02:00
parent
dbc4699042
commit
d56ba2ed94
@ -88,7 +88,7 @@ class ImportsourceCommand extends Command
|
||||
$hook = ImportSourceHook::forImportSource($source);
|
||||
Benchmark::measure('Ready to fetch data');
|
||||
$data = $hook->fetchData();
|
||||
$source->applyModifiers($this);
|
||||
$source->applyModifiers($data);
|
||||
Benchmark::measure(sprintf('Got %d rows, ready to dump JSON', count($data)));
|
||||
echo json_encode($data, JSON_PRETTY_PRINT);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user