Skip to content

Commit 6a6d033

Browse files
authored
Merge pull request #834 from supercaracal/fix-namespace-issue
Fix a module namespace issue
2 parents a0e9745 + 5aa2cf5 commit 6a6d033

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)