Skip to content

Commit b88b37c

Browse files
committed
fixed healthz endpoint
1 parent 18ea606 commit b88b37c

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

docs/openapi.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -331,11 +331,6 @@ paths:
331331
type: array
332332
items:
333333
- $ref: '#/components/schemas/Group'
334-
/healthz/:
335-
get:
336-
responses:
337-
200:
338-
description: Indicates the server is online and functioning normally.
339334

340335
components:
341336
securitySchemes:

pkg/server/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func NewServer(_store store.Store, config Config) *Server {
6060
Providers: config.AuthProviders,
6161
}
6262
svr.serviceManager.RegisterService(authRouter, authService)
63-
svr.serviceManager.RegisterService(apiRouter, health.Service{})
63+
svr.serviceManager.RegisterService(router, health.Service{})
6464

6565
router.NotFoundHandler = static.Service{}
6666

0 commit comments

Comments
 (0)