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