chore: add ok/service fields to readiness response for consistency
Matches the response shape used by all other services in the infrastructure (ok, service, cause on failure). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
c12cde46e8
commit
16214ebfcb
@ -421,7 +421,8 @@ async fn health(
|
|||||||
Ok((
|
Ok((
|
||||||
StatusCode::OK,
|
StatusCode::OK,
|
||||||
Json(serde_json::json!({
|
Json(serde_json::json!({
|
||||||
"status": "ok",
|
"ok": true,
|
||||||
|
"service": "tidaldb",
|
||||||
"mode": "standalone",
|
"mode": "standalone",
|
||||||
"items": items,
|
"items": items,
|
||||||
})),
|
})),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user