Ver Fonte

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

Anthony Romano há 8 anos atrás
pai
commit
166ae10ca3
1 ficheiros alterados com 1 adições e 1 exclusões
  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
 }