From 154944ebe9466a541803307017b41d4b4235b301 Mon Sep 17 00:00:00 2001 From: Taha Yassine Kraiem Date: Tue, 28 Mar 2023 16:59:47 +0100 Subject: [PATCH 1/2] feat(chalice): changed health response --- api/chalicelib/core/health.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/chalicelib/core/health.py b/api/chalicelib/core/health.py index a9a54977c..f9be1cbd9 100644 --- a/api/chalicelib/core/health.py +++ b/api/chalicelib/core/health.py @@ -109,7 +109,7 @@ def __check_be_service(service_name): return fail_response return { "health": True, - "details": {} + "details": results.json().get("data", {}) } return fn From e57e04fcb40eaada614001639764843e5262381a Mon Sep 17 00:00:00 2001 From: Taha Yassine Kraiem Date: Tue, 28 Mar 2023 17:16:21 +0100 Subject: [PATCH 2/2] feat(chalice): changed health response --- api/chalicelib/core/health.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/chalicelib/core/health.py b/api/chalicelib/core/health.py index f9be1cbd9..a9a54977c 100644 --- a/api/chalicelib/core/health.py +++ b/api/chalicelib/core/health.py @@ -109,7 +109,7 @@ def __check_be_service(service_name): return fail_response return { "health": True, - "details": results.json().get("data", {}) + "details": {} } return fn