Commit 8bad0ddd authored by antirez's avatar antirez
Browse files

fixed bug due to typo in code

parent 180ba187
...@@ -31,7 +31,7 @@ class ClusterNode ...@@ -31,7 +31,7 @@ class ClusterNode
def connect(o={}) def connect(o={})
xputs "Connecting to node #{self}: " xputs "Connecting to node #{self}: "
begin begin
@r = Redis.new(:host => @ost, :port => @port) @r = Redis.new(:host => @host, :port => @port)
@r.ping @r.ping
rescue rescue
puts "ERROR" puts "ERROR"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment