mirror of
https://github.com/status-im/consul.git
synced 2025-02-22 10:28:31 +00:00
Restored comment.
This commit is contained in:
parent
fecce25658
commit
a3fb665b88
@ -24,6 +24,8 @@ import (
|
||||
func NewHandler(logger Logger, addr net.Addr, register func(server *grpc.Server)) *Handler {
|
||||
metrics := defaultMetrics()
|
||||
|
||||
// We don't need to pass tls.Config to the server since it's multiplexed
|
||||
// behind the RPC listener, which already has TLS configured.
|
||||
recoveryOpts := PanicHandlerMiddlewareOpts(logger)
|
||||
|
||||
opts := []grpc.ServerOption{
|
||||
|
Loading…
x
Reference in New Issue
Block a user