diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/custodian/alerts/mauve.rb | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/lib/custodian/alerts/mauve.rb b/lib/custodian/alerts/mauve.rb index 697c7fb..13ac747 100644 --- a/lib/custodian/alerts/mauve.rb +++ b/lib/custodian/alerts/mauve.rb @@ -227,7 +227,16 @@ module Custodian          id_key   += test.class.to_s          alert.id  = Digest::SHA1.hexdigest(id_key) +        # +        # Set the subject of the alert +        #          alert.subject = subject + +        # +        # But allow it to be overwritten if something was specified. +        # +        alert.subject = test.get_subject() unless test.get_subject().nil? +          alert.summary = "The #{test_type} test failed against #{test_host}"          # | 
