diff --git a/src/redis-trib.rb b/src/redis-trib.rb index 466a8113..4002f630 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.