summaryrefslogtreecommitdiff
path: root/src/redis-trib.rb
diff options
context:
space:
mode:
authorSalvatore Sanfilippo <antirez@gmail.com>2014-12-11 15:05:38 +0100
committerSalvatore Sanfilippo <antirez@gmail.com>2014-12-11 15:05:38 +0100
commitdea938440cc08d8f0d97a3e3c090d97670ef24a8 (patch)
tree2c38921236d4161c6c8c767e2aeff105ade69ee7 /src/redis-trib.rb
parent4ff365b34a756e221abf0474ccfc941663e3a073 (diff)
parent14f2582da26013b09aef5a24230c2553eebfd73a (diff)
downloadredis-dea938440cc08d8f0d97a3e3c090d97670ef24a8.tar.gz
Merge pull request #2107 from mattsta/fix-trib-import
Fix redis-trib import SCAN call
Diffstat (limited to 'src/redis-trib.rb')
-rwxr-xr-xsrc/redis-trib.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redis-trib.rb b/src/redis-trib.rb
index 466a81137..4002f6309 100755
--- a/src/redis-trib.rb
+++ b/src/redis-trib.rb
@@ -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.