aboutsummaryrefslogtreecommitdiff
path: root/shardweb/lib/shard_web/controllers/page_controller.ex
diff options
context:
space:
mode:
Diffstat (limited to 'shardweb/lib/shard_web/controllers/page_controller.ex')
-rw-r--r--shardweb/lib/shard_web/controllers/page_controller.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/shardweb/lib/shard_web/controllers/page_controller.ex b/shardweb/lib/shard_web/controllers/page_controller.ex
index 305e751..620d779 100644
--- a/shardweb/lib/shard_web/controllers/page_controller.ex
+++ b/shardweb/lib/shard_web/controllers/page_controller.ex
@@ -18,7 +18,7 @@ defmodule ShardWeb.PageController do
end
end
{port_num, _} = Integer.parse port
- Shard.Manager.add_peer(ip_tuple, port_num)
+ Shard.Manager.add_peer({:inet, ip_tuple, port_num})
rescue
_ -> nil
end