Skip to content

Commit 637805e

Browse files
committed
fix: format keycloak_deployed_mcp.py
1 parent 1504037 commit 637805e

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

servers/keycloak_deployed_mcp.py

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -191,15 +191,19 @@ def analyze_spending_prompt(
191191
# Wrapper ASGI app to add health endpoint for Container Apps probes
192192
async def app(scope, receive, send):
193193
if scope["type"] == "http" and scope["path"] == "/health":
194-
await send({
195-
"type": "http.response.start",
196-
"status": 200,
197-
"headers": [[b"content-type", b"application/json"]],
198-
})
199-
await send({
200-
"type": "http.response.body",
201-
"body": b'{"status": "healthy"}',
202-
})
194+
await send(
195+
{
196+
"type": "http.response.start",
197+
"status": 200,
198+
"headers": [[b"content-type", b"application/json"]],
199+
}
200+
)
201+
await send(
202+
{
203+
"type": "http.response.body",
204+
"body": b'{"status": "healthy"}',
205+
}
206+
)
203207
return
204208
await http_app(scope, receive, send)
205209

0 commit comments

Comments
 (0)