sessionm-cassandra_object 2.5.6 → 2.5.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -99,7 +99,7 @@ module CassandraObject
|
|
99
99
|
{
|
100
100
|
:start_token => sprintf('%032x', t.start_token.to_i),
|
101
101
|
:end_token => t.end_token.to_i == 0 ? ('f' * 32) : sprintf('%032x', t.end_token.to_i - 1),
|
102
|
-
:servers => t.endpoint_details.select { |d| d.datacenter == datacenter }.map
|
102
|
+
:servers => t.endpoint_details.select { |d| d.datacenter == datacenter }.map { |d| "#{d.host}:9160" }
|
103
103
|
}
|
104
104
|
end
|
105
105
|
end
|