mirror of https://github.com/grpc/grpc-go.git
Merge pull request #65 from grpc/revert-64-master
Revert "init serverName correctly"
This commit is contained in:
commit
32527e92db
|
|
@ -302,7 +302,7 @@ func main() {
|
|||
serverAddr := net.JoinHostPort(*serverHost, strconv.Itoa(*serverPort))
|
||||
var opts []grpc.DialOption
|
||||
if *useTLS {
|
||||
sn := *serverHost
|
||||
var sn string
|
||||
if *tlsServerName != "" {
|
||||
sn = *tlsServerName
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue