diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-11-26 16:01:50 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-11-26 16:01:50 +0000 |
commit | ab883e6a1a17c014cd283d2a96d7a978d2330499 (patch) | |
tree | 86fdfbdbd9634347a886189b47bdaec8fd8ee674 /lib/custodian/alerts | |
parent | 70f1bba117b384772e5ad22acd10057999d52e64 (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.rb | 2 |
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!" |