aboutsummaryrefslogtreecommitdiff
path: root/shardweb/lib/shard_web/controllers/page_controller.ex
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2018-10-11 15:11:52 +0200
committerAlex Auvolat <alex@adnab.me>2018-10-11 15:11:52 +0200
commit1646bc57eae9880fd408d23ca692364dc6fd6442 (patch)
tree0f65d47498f33772152b20ee082d34e218f16df4 /shardweb/lib/shard_web/controllers/page_controller.ex
parenteb8c949551ffb8b3600357d7ff2bebe750af96e5 (diff)
downloadshard-1646bc57eae9880fd408d23ca692364dc6fd6442.tar.gz
shard-1646bc57eae9880fd408d23ca692364dc6fd6442.zip
Move somme functionnality to SNet.Manager
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 620d779..261b5d6 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({:inet, ip_tuple, port_num})
+ SNet.Manager.add_peer({:inet, ip_tuple, port_num})
rescue
_ -> nil
end