summaryrefslogtreecommitdiff
path: root/src/collector/healthcheck.py
diff options
context:
space:
mode:
authorVictor Näslund <victor@sunet.se>2022-11-16 14:23:09 +0100
committerVictor Näslund <victor@sunet.se>2022-11-16 14:23:09 +0100
commit4a56b3aae4114db731eff725e2c6292371a9b8ae (patch)
tree250f4dd1c4b9a0775867163a5edaee76638b261f /src/collector/healthcheck.py
parent6de5476ae2622fad5dc5c0d33e2b4bb9c3e9a6f1 (diff)
Better status codes and error handling
Diffstat (limited to 'src/collector/healthcheck.py')
-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 0b9b0e5..3091d98 100644
--- a/src/collector/healthcheck.py
+++ b/src/collector/healthcheck.py
@@ -18,7 +18,7 @@ def check_collector() -> bool:
req = requests.get(
"http://localhost:8000/info",
timeout=3,
- # verify="./rootCA.crt",
+ # TODO: verify="./rootCA.crt",
)
if req.status_code != 200: