summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Näslund <victor@sunet.se>2022-11-13 23:08:15 +0100
committerVictor Näslund <victor@sunet.se>2022-11-13 23:08:15 +0100
commit6de5476ae2622fad5dc5c0d33e2b4bb9c3e9a6f1 (patch)
tree8a50773e43a0f980dd4c350e5e7cb7311d207217
parenta4c30536366a78cd2f71a3d573dea1276cb99b72 (diff)
Typo
-rw-r--r--src/collector/healthcheck.py2
1 files changed, 1 insertions, 1 deletions
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