mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
fixed bug due to typo in code
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user