fixed bug due to typo in code

This commit is contained in:
antirez 2011-04-13 21:26:12 +02:00
parent 180ba187d3
commit 8bad0ddd9d

View File

@ -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"