use correct endpoint in nats check
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
@@ -22,7 +22,7 @@ func Server(opts ...Option) (*http.Server, error) {
|
|||||||
WithCheck("web reachability", checks.NewHTTPCheck(options.Config.HTTP.Addr))
|
WithCheck("web reachability", checks.NewHTTPCheck(options.Config.HTTP.Addr))
|
||||||
|
|
||||||
readyHandlerConfiguration := healthHandlerConfiguration.
|
readyHandlerConfiguration := healthHandlerConfiguration.
|
||||||
WithCheck("nats reachability", checks.NewNatsCheck(options.Config.Events.Cluster))
|
WithCheck("nats reachability", checks.NewNatsCheck(options.Config.Events.Endpoint))
|
||||||
|
|
||||||
var configDumpFunc http.HandlerFunc = configDump(options.Config)
|
var configDumpFunc http.HandlerFunc = configDump(options.Config)
|
||||||
return debug.NewService(
|
return debug.NewService(
|
||||||
|
|||||||
Reference in New Issue
Block a user