Browse Source

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

Anthony Romano 8 years ago
parent
commit
166ae10ca3
1 changed files with 1 additions and 1 deletions
  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
 }