summaryrefslogtreecommitdiff
path: root/lib/custodian
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
commitf37871204728b155f589bf6add2a58347116704b (patch)
tree52a1fa0575c7acbe9f2869161a98ba381c498b30 /lib/custodian
parent540baef644ae843bf44c36c5149a1d095a9a039a (diff)
Added test-type to the subject
Diffstat (limited to 'lib/custodian')
-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.