提交 8bad0ddd 编写于 作者: A antirez

fixed bug due to typo in code

上级 180ba187
......@@ -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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册