Fixed agent status connection
testing/ogcore-api/pipeline/head This commit looks good
Details
testing/ogcore-api/pipeline/head This commit looks good
Details
parent
4638c07416
commit
d3b2da5f1b
|
@ -39,6 +39,8 @@ class StatusAction extends AbstractController
|
||||||
*/
|
*/
|
||||||
public function __invoke(Client $client): JsonResponse
|
public function __invoke(Client $client): JsonResponse
|
||||||
{
|
{
|
||||||
|
$response = null;
|
||||||
|
|
||||||
if (!$client->getIp()) {
|
if (!$client->getIp()) {
|
||||||
throw new ValidatorException('IP is required');
|
throw new ValidatorException('IP is required');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue