From 611a3c0841dbed0ffecd935aceb3b93ef48c19f4 Mon Sep 17 00:00:00 2001 From: Wei Ouyang Date: Tue, 10 Dec 2024 08:17:25 -0800 Subject: [PATCH] Fix documentation --- docs/getting-started.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index f0f1a108..74dc23c1 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -445,13 +445,13 @@ async def start_server(server_url): # Replace this with your own liveness check return {"status": "ok"} - # Register a probe for the service - await server.register_probe({ + # Register probes for the service + await server.register_probes({ "readiness": check_readiness, "liveness": check_liveness, }) - # This will register a "probes" service where you can accessed via hypha or the HTTP proxy + # This will register probes service where you can accessed via hypha or the HTTP proxy print(f"Probes registered at workspace: {server.config.workspace}") print(f"Test it with the HTTP proxy: {server_url}/{server.config.workspace}/services/probes/readiness")