Permalink
Browse files

Unique the return from describe_ring since it has RF versions of each…

… server
  • Loading branch information...
1 parent acc4d37 commit aff0a9ca8c6dde692815cba4b312f19caa66dba0 @b b committed Sep 7, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/cassandra/0.7/cassandra.rb
@@ -39,7 +39,7 @@ def cluster_name
end
def ring
- client.describe_ring(@keyspace)
+ client.describe_ring(@keyspace).uniq
end
def partitioner

0 comments on commit aff0a9c

Please sign in to comment.