diff options
author | Salvatore Sanfilippo <antirez@gmail.com> | 2014-12-11 15:05:38 +0100 |
---|---|---|
committer | Salvatore Sanfilippo <antirez@gmail.com> | 2014-12-11 15:05:38 +0100 |
commit | dea938440cc08d8f0d97a3e3c090d97670ef24a8 (patch) | |
tree | 2c38921236d4161c6c8c767e2aeff105ade69ee7 /src/redis-trib.rb | |
parent | 4ff365b34a756e221abf0474ccfc941663e3a073 (diff) | |
parent | 14f2582da26013b09aef5a24230c2553eebfd73a (diff) | |
download | redis-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-x | src/redis-trib.rb | 2 |
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. |