mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-26 00:03:09 -06:00
Use AuthenticatedConnect for dial
This commit is contained in:
parent
d8d05ad82c
commit
9ab026d8d4
|
|
@ -106,7 +106,7 @@ func main() {
|
||||||
return
|
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")
|
logrus.WithError(err).Errorf("Failed to connect Pinecone static peer to switch")
|
||||||
}
|
}
|
||||||
}(*instancePeer)
|
}(*instancePeer)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue