Skip to content

Commit

Permalink
Fix bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Aug 22, 2024
1 parent 470d4b6 commit 075ca8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/async/redis/cluster_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 075ca8c

Please sign in to comment.