From 8bad0ddd9daff59137d1fc2c932bb39e77cabf4c Mon Sep 17 00:00:00 2001 From: antirez Date: Wed, 13 Apr 2011 21:26:12 +0200 Subject: [PATCH] fixed bug due to typo in code --- 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 af599cbe..ad87d6f8 100755 --- a/src/redis-trib.rb +++ b/src/redis-trib.rb @@ -31,7 +31,7 @@ class ClusterNode def connect(o={}) xputs "Connecting to node #{self}: " begin - @r = Redis.new(:host => @ost, :port => @port) + @r = Redis.new(:host => @host, :port => @port) @r.ping rescue puts "ERROR"