Skip to content

Commit 5aa2cf5

Browse files
committed
Fix a module namespace issue and resolve #833
1 parent df07a4c commit 5aa2cf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/redis/cluster/slot.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def build_slot_node_key_map(available_slots)
5757
end
5858

5959
def assign_node_key(mappings, slot, node_key)
60-
mappings[slot] ||= { master: nil, slaves: Set.new }
60+
mappings[slot] ||= { master: nil, slaves: ::Set.new }
6161
if master?(node_key)
6262
mappings[slot][:master] = node_key
6363
else

0 commit comments

Comments
 (0)