diff --git a/services/proxy/pkg/server/debug/server.go b/services/proxy/pkg/server/debug/server.go index b5d172ed2..2a76c506d 100644 --- a/services/proxy/pkg/server/debug/server.go +++ b/services/proxy/pkg/server/debug/server.go @@ -22,7 +22,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)) var configDumpFunc http.HandlerFunc = configDump(options.Config) return debug.NewService(