From b37c5109ba4a25fa61bdb0a90b4e72f93f78c35f Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Mon, 26 Nov 2012 16:01:50 +0000 Subject: The target is used to specify the redis hostname - use it. --- lib/custodian/alerts/redis-state.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/custodian/alerts/redis-state.rb') diff --git a/lib/custodian/alerts/redis-state.rb b/lib/custodian/alerts/redis-state.rb index 38b592e..ae62dc3 100644 --- a/lib/custodian/alerts/redis-state.rb +++ b/lib/custodian/alerts/redis-state.rb @@ -39,7 +39,7 @@ module Custodian require 'rubygems' require 'redis' - @redis = Redis.new() + @redis = Redis.new(:host => @target ) rescue puts "ERROR Loading redis rubygem!" -- cgit v1.2.1