Test ogdClient
testing/ogcore-api/pipeline/head This commit looks good
Details
testing/ogcore-api/pipeline/head This commit looks good
Details
parent
4c76b9a71c
commit
354b18c068
|
@ -44,7 +44,7 @@ class StatusAction extends AbstractController
|
||||||
'verify_peer' => false,
|
'verify_peer' => false,
|
||||||
'verify_host' => false,
|
'verify_host' => false,
|
||||||
'timeout' => 10,
|
'timeout' => 10,
|
||||||
'body' => []
|
'body' => ['hola' => 'mundo']
|
||||||
]);
|
]);
|
||||||
$statusCode = $response->getStatusCode();
|
$statusCode = $response->getStatusCode();
|
||||||
$client->setStatus($statusCode === Response::HTTP_OK ? 'active' : 'off');
|
$client->setStatus($statusCode === Response::HTTP_OK ? 'active' : 'off');
|
||||||
|
|
Loading…
Reference in New Issue