summaryrefslogtreecommitdiff
path: root/lib/custodian/alerts
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-12-10 13:22:26 +0000
committerSteve Kemp <steve@steve.org.uk>2012-12-10 13:22:26 +0000
commit5f0bb271d904325f1e940e277053f6d612c4cf14 (patch)
treea689f47b6319effad4e64d97df6ef1a92064edce /lib/custodian/alerts
parent97b2d9a17e83d0d69eddcc80c2d141dbccba24ce (diff)
Use the parser-input as the alert-id
Diffstat (limited to 'lib/custodian/alerts')
-rw-r--r--lib/custodian/alerts/mauve.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/alerts/mauve.rb b/lib/custodian/alerts/mauve.rb
index 7c2c89d..31cb874 100644
--- a/lib/custodian/alerts/mauve.rb
+++ b/lib/custodian/alerts/mauve.rb
@@ -172,7 +172,7 @@ module Custodian
alert = Mauve::Proto::Alert.new
- alert.id = "#{test_type}-#{test_host}"
+ alert.id = test.to_s
alert.subject = subject
alert.summary = "The #{test_type} test failed against #{test_host}"