Explorar el Código

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

Anthony Romano hace 9 años
padre
commit
166ae10ca3
Se han modificado 1 ficheros con 1 adiciones y 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
 }