fix grpc dialer

This commit is contained in:
ginuerzh committed 2023-03-20 18:28:35 +08:00
1 parent f32b72ce56
commit 661953e09f
2 files changed
+3 -9

No files matched your search

-3
View File
@@ -96,9 +96,6 @@ func ParseHop(cfg *config.HopConfig) (chain.Hop, error) {
})
serverName, _, _ := net.SplitHostPort(v.Addr)
if serverName == "" {
serverName = "localhost"
}
tlsCfg := v.Connector.TLS
if tlsCfg == nil {