Skip to content

Commit

Permalink
Unique the return from describe_ring since it has RF versions of each…
Browse files Browse the repository at this point in the history
… server
  • Loading branch information
b committed Sep 7, 2010
1 parent acc4d37 commit aff0a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cassandra/0.7/cassandra.rb
Expand Up @@ -39,7 +39,7 @@ def cluster_name
end

def ring
client.describe_ring(@keyspace)
client.describe_ring(@keyspace).uniq
end

def partitioner
Expand Down

0 comments on commit aff0a9c

Please sign in to comment.