diff options
author | Alex Auvolat <alex@adnab.me> | 2018-10-11 11:02:35 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2018-10-11 11:02:35 +0200 |
commit | 7b6042205e7c6135fae4e0d21dbf7a5975e8491b (patch) | |
tree | 58fc563458702fb456729b79802eacb547a8fc66 /shard/lib/cli/cli.ex | |
parent | a2f678dc510e642479d61b81148a433edd7b76fe (diff) | |
download | shard-7b6042205e7c6135fae4e0d21dbf7a5975e8491b.tar.gz shard-7b6042205e7c6135fae4e0d21dbf7a5975e8491b.zip |
Clean up
Diffstat (limited to 'shard/lib/cli/cli.ex')
-rw-r--r-- | shard/lib/cli/cli.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shard/lib/cli/cli.ex b/shard/lib/cli/cli.ex index 2e35e45..5f3dc7f 100644 --- a/shard/lib/cli/cli.ex +++ b/shard/lib/cli/cli.ex @@ -72,7 +72,7 @@ defmodule SCLI do defp handle_command(state, ["connect", ipstr, portstr]) do {:ok, ip} = :inet.parse_address (to_charlist ipstr) {port, _} = Integer.parse portstr - Shard.Manager.add_peer(ip, port) + Shard.Manager.add_peer({:inet, ip, port}) state end |