From f106a79309c540aa49989e53ab8cba66c94b9349 Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 10 Feb 2014 16:59:09 +0100 Subject: [PATCH] Cluster: redis-trib del-node variable typo fixed. --- 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 1354c35a..7aa345ac 100755 --- a/src/redis-trib.rb +++ b/src/redis-trib.rb @@ -898,7 +898,7 @@ class RedisTrib xputs ">>> Sending CLUSTER FORGET messages to the cluster..." @nodes.each{|n| next if n == node - if n.info[:replicate] && n.info[:replicate].downcase == node_id + if n.info[:replicate] && n.info[:replicate].downcase == id # Reconfigure the slave to replicate with some other node xputs ">>> #{n} as replica of #{master}" master = get_master_with_least_replicas