nats checks fixed

This commit is contained in:
Roman Perekhod
2024-10-18 17:30:39 +02:00
parent 290477b494
commit b82ad12fee
12 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ func Server(opts ...Option) (*http.Server, error) {
WithCheck("web reachability", checks.NewHTTPCheck(options.Config.HTTP.Addr))
readyHandlerConfiguration := healthHandlerConfiguration.
WithCheck("nats reachability", checks.NewNatsCheck(options.Config.Events.Cluster)).
WithCheck("nats reachability", checks.NewNatsCheck(options.Config.Events.Endpoint)).
WithCheck("ldap reachability", checks.NewTCPCheck(options.Config.Identity.LDAP.URI))
return debug.NewService(