summaryrefslogtreecommitdiff
path: root/lib/custodian/alerts
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-26 16:01:50 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-26 16:01:50 +0000
commitb37c5109ba4a25fa61bdb0a90b4e72f93f78c35f (patch)
tree5607c0fb35c066ee01ec8bf29513b8874e81f889 /lib/custodian/alerts
parent1a12a779a28b64fc0bc390537dc39340198f39f5 (diff)
The target is used to specify the redis hostname - use it.
Diffstat (limited to 'lib/custodian/alerts')
-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!"