File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed
Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -191,15 +191,19 @@ def analyze_spending_prompt(
191191# Wrapper ASGI app to add health endpoint for Container Apps probes
192192async 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
You can’t perform that action at this time.
0 commit comments