Update Pinecone demo

This commit is contained in:
Neil Alexander 2021-10-22 11:38:04 +01:00
parent 3b7a4ad640
commit 4c129e3e3d
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
5 changed files with 9 additions and 9 deletions

View file

@ -34,7 +34,7 @@ func ConnectToPeer(pRouter *pineconeRouter.Router, peer string) error {
if parent == nil {
return fmt.Errorf("failed to wrap connection")
}
_, err := pRouter.AuthenticatedConnect(parent, "static", pineconeRouter.PeerTypeRemote)
_, err := pRouter.AuthenticatedConnect(parent, "static", pineconeRouter.PeerTypeRemote, true)
return err
}