diff --git a/lib/async/redis/cluster_client.rb b/lib/async/redis/cluster_client.rb index 5b57383..284348f 100644 --- a/lib/async/redis/cluster_client.rb +++ b/lib/async/redis/cluster_client.rb @@ -106,7 +106,7 @@ def reload_cluster!(endpoints = @endpoints) shard = shard.each_slice(2).to_h slots = shard['slots'] - range = Range.new(*slots, exclude_end: false) + range = Range.new(*slots) nodes = shard['nodes'].map do |node| node = node.each_slice(2).to_h