18794: Merge branch 'main'
[arvados.git] / sdk / go / health / handler.go
index aef72c2c813626eeb0cc5ac1d1a5174e419072de..81b9587c36aca32d9495307af2ede17112b525aa 100644 (file)
@@ -37,14 +37,14 @@ type Handler struct {
 
        // Map of URI paths to health-check Func. The prefix is
        // omitted: Routes["foo"] is the health check invoked by a
-       // request to "/_health/foo".
+       // request to "{Prefix}/foo".
        //
        // If "ping" is not listed here, it will be added
        // automatically and will always return a "healthy" response.
        Routes Routes
 
        // If non-nil, Log is called after handling each request. The
-       // error argument is nil if the request was succesfully
+       // error argument is nil if the request was successfully
        // authenticated and served, even if the health check itself
        // failed.
        Log func(*http.Request, error)