mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-25 14:54:25 +02:00
parent
9f6771f09e
commit
a133706996
@ -212,7 +212,7 @@ class Health
|
|||||||
{
|
{
|
||||||
$check = new CheckResults('Director Jobs');
|
$check = new CheckResults('Director Jobs');
|
||||||
$jobs = DirectorJob::loadAll($this->getConnection());
|
$jobs = DirectorJob::loadAll($this->getConnection());
|
||||||
if (empty($sources)) {
|
if (empty($jobs)) {
|
||||||
$check->warn('No Jobs have been defined');
|
$check->warn('No Jobs have been defined');
|
||||||
return $check;
|
return $check;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user