diff --git a/ruskit/cluster.py b/ruskit/cluster.py index 0acab95..9996f09 100644 --- a/ruskit/cluster.py +++ b/ruskit/cluster.py @@ -229,7 +229,7 @@ def _parse_node(self, nodes): confs = item.split() node_info = { "name": confs[0], - "addr": confs[1], + "addr": confs[1].split("@")[0], "flags": confs[2].split(','), "replicate": confs[3], # master_id "ping_sent": int(confs[4]), diff --git a/setup.py b/setup.py index 11e54eb..56f3030 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ }, install_requires=[ "hiredis", - "redis>=2.10.5", + "redis==2.10.5", ], extras_require={ 'addslaves': ['python-igraph'],