summaryrefslogtreecommitdiff
path: root/src/redis-trib.rb
diff options
context:
space:
mode:
authorMatt Stancliff <matt@genges.com>2014-10-27 10:09:37 -0400
committerMatt Stancliff <matt@genges.com>2014-10-29 15:08:51 -0400
commit14f2582da26013b09aef5a24230c2553eebfd73a (patch)
treea1a1c12c9a3b7a3899ef42758b0d9f8f03c20827 /src/redis-trib.rb
parent6fbaeddf3f547217df9f808da80a716661bfa591 (diff)
downloadredis-14f2582da26013b09aef5a24230c2553eebfd73a.tar.gz
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 cff0f360f..dab62b9f3 100755
--- a/src/redis-trib.rb
+++ b/src/redis-trib.rb
@@ -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.