mirror of
https://github.com/fluencelabs/redis
synced 2025-03-31 14:51:04 +00:00
fixed bug due to typo in code
This commit is contained in:
parent
180ba187d3
commit
8bad0ddd9d
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user