Skip to content

Commit 26d2979

Browse files
authored
Merge pull request #852 from abstractart/patch-1
Update dist_redis.rb example for usage with 4.*.*
2 parents d63bdc2 + 9230f84 commit 26d2979

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/dist_redis.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
puts "key distribution:"
3838

3939
r.ring.nodes.each do |node|
40-
p [node.client, node.keys("*")]
40+
p [node.client(:getname), node.keys("*")]
4141
end
4242
r.flushdb
4343
p r.keys('*')

0 commit comments

Comments
 (0)