summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-24 18:53:37 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-24 18:53:37 +0000
commitf0ab6ec3f13066785d38573b068eec1271804ca4 (patch)
tree47f68a483d5cc25b6d4ebc0509b19d5961952549
parentdb252e7d29b2bebda5bd7afc3dd6ef9ede14a3d2 (diff)
Updated comments.
-rw-r--r--lib/custodian/settings.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/custodian/settings.rb b/lib/custodian/settings.rb
index 04f4b2d..48adcc0 100644
--- a/lib/custodian/settings.rb
+++ b/lib/custodian/settings.rb
@@ -119,20 +119,21 @@ module Custodian
#
# The target for the alert.
#
- # When the alerter is "file" the target is the mail address.
+ # When the alerter is "smtp" the target is the mail address.
#
# When the alerter is "file" the target is the logfile.
#
- # When the alerter is "mauve" the target is the destination for the
- # alerts.
+ # When the alerter is "mauve" the target is the destination for the alerts.
#
def alerter_target
_load() unless( _loaded? )
+ # if we have something setup then use it.
if ( @settings['alerter_target'] )
return( @settings['alerter_target'] )
end
+ # otherwise per-test defaults.
case alerter()
when "smtp":
"root"