From c13d787d13859afd4fe7a229c90ae1fa70c61adf 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 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.