Commit 14f2582d authored by Matt Stancliff's avatar Matt Stancliff
Browse files

Fix redis-trib import SCAN call

parent 6fbaeddf
......@@ -1137,7 +1137,7 @@ class RedisTrib
# right node as needed.
cursor = nil
while cursor != 0
cursor,keys = source.scan(cursor,:count,1000)
cursor,keys = source.scan(cursor, :count => 1000)
cursor = cursor.to_i
keys.each{|k|
# Migrate keys using the MIGRATE command.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment