summaryrefslogtreecommitdiff
path: root/lib/custodian/alerter.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-20 10:07:30 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-20 10:07:30 +0000
commit950fc09a3ffa03f3ef6055a8152cae4f5de69173 (patch)
tree52a1fa0575c7acbe9f2869161a98ba381c498b30 /lib/custodian/alerter.rb
parent4d9a975a6f7f328220f3658cb0d7eaeb2ac15efc (diff)
Added test-type to the subject
Diffstat (limited to 'lib/custodian/alerter.rb')
-rw-r--r--lib/custodian/alerter.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/custodian/alerter.rb b/lib/custodian/alerter.rb
index e70ad0d..198716f 100644
--- a/lib/custodian/alerter.rb
+++ b/lib/custodian/alerter.rb
@@ -124,7 +124,10 @@ class Alerter
end
end
-
+ #
+ # Add the test-type to the subject
+ #
+ subject = "#{subject} #{@details['test_type']}"
#
# Document the hostname if the alert relates to an IP address.
@@ -190,6 +193,10 @@ class Alerter
end
end
+ #
+ # Add the test-type to the subject
+ #
+ subject = "#{subject} #{@details['test_type']}"
#
# Document the hostname if the alert relates to an IP address.