mirror of
https://github.com/fluencelabs/redis
synced 2025-03-18 16:40:50 +00:00
Merge pull request #2107 from mattsta/fix-trib-import
Fix redis-trib import SCAN call
This commit is contained in:
commit
dea938440c
@ -1139,7 +1139,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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user