Tighten control plane flow and status presentation

This commit is contained in:
Keith Casko
2026-10-02 11:20:13 -04:00
parent be741fbc1b
commit bcf115a83b
4 changed files with 88 additions and 54 deletions
-5
View File
@@ -63,11 +63,6 @@ def check_services():
try:
status, body = get_text(url)
services[name] = {"up": 200 <= status < 400, "status": status}
if name == "gitea":
try:
services[name]["version"] = json.loads(body).get("version")
except Exception:
pass
except Exception:
services[name] = {"up": False, "status": None}
return services