checks added
This commit is contained in:
@@ -18,7 +18,6 @@ func Server(opts ...Option) (*http.Server, error) {
|
||||
options := newOptions(opts...)
|
||||
|
||||
readyHandlerConfiguration := handlers.NewCheckHandlerConfiguration().
|
||||
WithLogger(options.Logger).
|
||||
WithLogger(options.Logger).
|
||||
WithCheck("nats reachability", checks.NewNatsCheck(options.Config.Events.Cluster)).
|
||||
WithCheck("antivirus reachability", func(ctx context.Context) error {
|
||||
|
||||
Reference in New Issue
Block a user