checks added

This commit is contained in:
Roman Perekhod
2024-10-17 19:03:14 +02:00
parent 061c18056a
commit c16a2ea2cf
13 changed files with 114 additions and 23 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ func Server(opts ...Option) (*http.Server, error) {
WithCheck("http reachability", checks.NewHTTPCheck(options.Config.HTTP.Addr))
readyHandlerConfiguration := healthHandlerConfiguration.
WithCheck("ldap-check", checks.NewTCPCheck(options.Config.Ldap.URI))
WithCheck("ldap reachability", checks.NewTCPCheck(options.Config.Ldap.URI))
return debug.NewService(
debug.Logger(options.Logger),