Fixed agent status connection
testing/ogcore-api/pipeline/head This commit looks good Details

pull/16/head^2
Manuel Aranda Rosales 2024-11-25 09:13:39 +01:00
parent d3b2da5f1b
commit 942c967d44
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ class StatusAction extends AbstractController
throw new ValidatorException('IP is required');
}
if ($client->getStatus() === ClientStatus::OG_LIVE || $client->getStatus() === ClientStatus::OFF) {
if ($client->getStatus() === ClientStatus::OG_LIVE || $client->getStatus() === ClientStatus::OFF || $client->getStatus() === ClientStatus::BUSY) {
$response = $this->getOgLiveStatus($client);
}