]> git.saurik.com Git - redis.git/commitdiff
fixed bug due to typo in code
authorantirez <antirez@gmail.com>
Wed, 13 Apr 2011 19:26:12 +0000 (21:26 +0200)
committerantirez <antirez@gmail.com>
Wed, 13 Apr 2011 19:26:12 +0000 (21:26 +0200)
src/redis-trib.rb

index af599cbec88cfde8611b5e5db3c3054b942fad66..ad87d6f8c1faf48df1cb03e29d8dbf694dbcbcde 100755 (executable)
@@ -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"