|
@@ -81,8 +81,9 @@ async def credentials_checks(api: ServiceAPI | None = None) -> dict[str, HealthR
|
|
|
if api is None:
|
|
if api is None:
|
|
|
api = ServiceAPI()
|
|
api = ServiceAPI()
|
|
|
out: dict[str, HealthResult] = {
|
|
out: dict[str, HealthResult] = {
|
|
|
- key: HealthResult(ok=False, reason=f'disabled at startup: {reason}')
|
|
|
|
|
|
|
+ key: HealthResult(ok=False, reason=f'load error: {reason}')
|
|
|
for key, reason in api._disabled.items()
|
|
for key, reason in api._disabled.items()
|
|
|
|
|
+ if reason != 'disabled in config'
|
|
|
}
|
|
}
|
|
|
keys = [s.key for s in services() if s.key in api._clients]
|
|
keys = [s.key for s in services() if s.key in api._clients]
|
|
|
if keys:
|
|
if keys:
|