summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-30 11:20:30 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-30 11:20:30 +0000
commit7fd4f1c8166af34fe099e203d599aff42d2bbbe0 (patch)
tree304f975f2e32c65d412bf962fbbaf89716e7b583
parent9360105b6a9663809fdd86266fa8127b3ef88f3a (diff)
comment + neatness update.
-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.