Changed SSl_ENABLED default false
testing/ogcore-api/pipeline/head There was a failure building this commit Details

develop
Manuel Aranda Rosales 2025-05-23 09:32:00 +02:00
commit d33c6ea48e
2 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,9 @@
# Changelog
## [0.13.1] - 2025-05-23
### Fixed
- Variable de entorno "SSl_ENABLED" desactivada por defecto.
---
## [0.13.0] - 2025-05-20
### Added
- Se ha creado la base para la comunicacion TLS con el agente.

View File

@ -87,7 +87,7 @@ class StatusAction extends AbstractOgAgentController
$client->setStatus(ClientStatus::OFF);
$this->entityManager->persist($client);
$this->entityManager->flush();
throw new ValidatorException('Error deploying image');
throw new ValidatorException('Error checking client status: ' . $data['error']);
}
if (isset($data['cfg'])) {
@ -95,6 +95,7 @@ class StatusAction extends AbstractOgAgentController
$this->createPartitionService->__invoke($data, $client);
}
$client->setStatus(ClientStatus::OG_LIVE);
$this->entityManager->persist($client);
$this->entityManager->flush();