Api v1.13.0 (#1320)

* feat(chalice): fixed health check
This commit is contained in:
Kraiem Taha Yassine 2023-06-08 18:12:47 +02:00 committed by GitHub
parent 8e58c367dd
commit d3c866b443
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -206,8 +206,7 @@ def get_health():
return __process_health(health_map=health_map)
def __process_health(tenant_id, health_map):
def __process_health(health_map):
for parent_key in health_map.keys():
if config(f"SKIP_H_{parent_key.upper()}", cast=bool, default=False):
health_map.pop(parent_key)