mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-25 15:53:09 -06:00
Use AuthenticatedConnect for dial
This commit is contained in:
parent
d8d05ad82c
commit
9ab026d8d4
|
|
@ -106,7 +106,7 @@ func main() {
|
|||
return
|
||||
}
|
||||
|
||||
if _, err := pSwitch.Connect(parent, pineconeTypes.PublicKey{}, "static"); err != nil {
|
||||
if _, err := pSwitch.AuthenticatedConnect(parent, "static"); err != nil {
|
||||
logrus.WithError(err).Errorf("Failed to connect Pinecone static peer to switch")
|
||||
}
|
||||
}(*instancePeer)
|
||||
|
|
|
|||
Loading…
Reference in a new issue