integration: use unixs:// if client port configured for tls

This commit is contained in:
Anthony Romano 2017-05-31 15:40:58 -07:00
parent ea8561c35c
commit 166ae10ca3

View File

@ -569,7 +569,7 @@ func (m *member) listenGRPC() error {
l.Close()
return err
}
m.grpcAddr = m.grpcBridge.URL()
m.grpcAddr = schemeFromTLSInfo(m.ClientTLSInfo) + "://" + m.grpcBridge.inaddr
m.grpcListener = l
return nil
}