Skip to content

Commit addfa07

Browse files
committed
add starting state to ping
1 parent aa27907 commit addfa07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ async def start_secrets(secrets: dict[str, Any]):
253253

254254
@app.get("/ping", tags=["main"])
255255
async def ping():
256-
return "Ok"
256+
return "Ok" if core.is_started else "Starting"
257257

258258

259259
async def async_main(host: str, port: int, sidecar: bool):

0 commit comments

Comments
 (0)