Fix empty admin profile in server poller
This commit is contained in:
parent
a319f9991c
commit
dadcf3239f
|
@ -173,8 +173,10 @@ class Server
|
||||||
);
|
);
|
||||||
|
|
||||||
//Add the admin to the directory
|
//Add the admin to the directory
|
||||||
|
if (!empty($probe_result['data']['admin']['profile'])) {
|
||||||
$this->profilePollQueueModel->add($probe_result['data']['admin']['profile']);
|
$this->profilePollQueueModel->add($probe_result['data']['admin']['profile']);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if ($server) {
|
if ($server) {
|
||||||
//Get the new health.
|
//Get the new health.
|
||||||
|
|
Loading…
Reference in a new issue