From 14f2582da26013b09aef5a24230c2553eebfd73a Mon Sep 17 00:00:00 2001 From: Matt Stancliff Date: Mon, 27 Oct 2014 10:09:37 -0400 Subject: [PATCH] Fix redis-trib import SCAN call --- src/redis-trib.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redis-trib.rb b/src/redis-trib.rb index cff0f360..dab62b9f 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.