Explorar o código

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

Anthony Romano %!s(int64=8) %!d(string=hai) anos
pai
achega
166ae10ca3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      integration/cluster.go

+ 1 - 1
integration/cluster.go

@@ -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
 }