aboutsummaryrefslogtreecommitdiff
path: root/cmd/dendrite-demo-pinecone/conn/client.go
diff options
context:
space:
mode:
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 14b648a3..e3cc0468 100644
--- a/cmd/dendrite-demo-pinecone/conn/client.go
+++ b/cmd/dendrite-demo-pinecone/conn/client.go
@@ -37,7 +37,7 @@ func ConnectToPeer(pRouter *pineconeRouter.Router, peer string) error {
_, err := pRouter.Connect(
parent,
pineconeRouter.ConnectionZone("static"),
- pineconeRouter.PeerTypeRemote,
+ pineconeRouter.ConnectionPeerType(pineconeRouter.PeerTypeRemote),
pineconeRouter.ConnectionURI(peer),
)
return err