summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/custodian/settings.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/custodian/settings.rb b/lib/custodian/settings.rb
index b601d79..62006c0 100644
--- a/lib/custodian/settings.rb
+++ b/lib/custodian/settings.rb
@@ -126,6 +126,8 @@ module Custodian
#
# When the alerter is "mauve" the target is the destination for the alerts.
#
+ # When the alerter is "redis" the target is the redis-server address.
+ #
def alerter_target( alert )
_load() unless( _loaded? )
@@ -136,7 +138,6 @@ module Custodian
# if we have something setup then use it.
if ( @settings["#{alert}_target"] )
return( @settings["#{alert}_target"] )
- else
end
# otherwise per-test defaults.