Skip to content

Commit acd40ae

Browse files
authored
[DDS-2022] Set response to 503. (#4)
1 parent df8eb46 commit acd40ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controller/HealthzController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function json(): JsonResponse {
6868
'sensor_message' => $resultFailure->getMessage(),
6969
]);
7070
}
71-
$response = new CacheableJsonResponse($response);
71+
$response = new CacheableJsonResponse($response, 503);
7272
}
7373
else {
7474
$response = new CacheableJsonResponse(['message' => 'All sensors OK!']);

0 commit comments

Comments
 (0)