summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/custodian/alerts/redis-state.rb2
1 files changed, 1 insertions, 1 deletions
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!"