From 6de5476ae2622fad5dc5c0d33e2b4bb9c3e9a6f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20N=C3=A4slund?= Date: Sun, 13 Nov 2022 23:08:15 +0100 Subject: Typo --- src/collector/healthcheck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/collector/healthcheck.py b/src/collector/healthcheck.py index 7d336fd..0b9b0e5 100644 --- a/src/collector/healthcheck.py +++ b/src/collector/healthcheck.py @@ -25,7 +25,7 @@ def check_collector() -> bool: return False data = json.loads(req.text) - if isinstance(data["estimated document count"], int) and data["estimated document count"] >= 0: + if isinstance(data["Estimated document count"], int) and data["Estimated document count"] >= 0: return req.status_code == 200 return False -- cgit v1.1