aboutsummaryrefslogtreecommitdiff
path: root/cmd/dendrite-demo-pinecone/conn/client.go
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2021-10-22 11:38:04 +0100
committerNeil Alexander <neilalexander@users.noreply.github.com>2021-10-22 11:38:04 +0100
commit4c129e3e3d6e8d952a87f79d9fe6cb343e2de341 (patch)
tree0ce0131a4791aa6c7a446f0cbead2ee4d3d5eec8 /cmd/dendrite-demo-pinecone/conn/client.go
parent3b7a4ad640f260b3918a35684b05ced077a09f0c (diff)
Update Pinecone demo
Diffstat (limited to 'cmd/dendrite-demo-pinecone/conn/client.go')
-rw-r--r--cmd/dendrite-demo-pinecone/conn/client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dendrite-demo-pinecone/conn/client.go b/cmd/dendrite-demo-pinecone/conn/client.go
index 5ba8e8ec..29436fda 100644
--- a/cmd/dendrite-demo-pinecone/conn/client.go
+++ b/cmd/dendrite-demo-pinecone/conn/client.go
@@ -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
}