fix grpc dialer
This commit is contained in:
1 parent
f32b72ce56
commit
661953e09f
2 files changed
+3
-9
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user