diff options
Diffstat (limited to 'lib/custodian/alerts')
| -rw-r--r-- | lib/custodian/alerts/graphite.rb | 2 | ||||
| -rw-r--r-- | lib/custodian/alerts/smtp.rb | 4 | 
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/custodian/alerts/graphite.rb b/lib/custodian/alerts/graphite.rb index 2e49125..778b36b 100644 --- a/lib/custodian/alerts/graphite.rb +++ b/lib/custodian/alerts/graphite.rb @@ -64,7 +64,7 @@ module Custodian          #  Send via UDP.          #          socket = UDPSocket.new -        socket.send( payload, 0, @target, 2003 ); +        socket.send( payload, 0, @target, 2003 )          socket.close        end diff --git a/lib/custodian/alerts/smtp.rb b/lib/custodian/alerts/smtp.rb index d37701b..e418031 100644 --- a/lib/custodian/alerts/smtp.rb +++ b/lib/custodian/alerts/smtp.rb @@ -31,7 +31,7 @@ module Custodian        #        def raise          subject = "#{test.target} alert #{test.get_type}-test - #{test.error}" -        body    = "The alert has raised, with the following details:\n#{test.error}\nRegards\n"; +        body    = "The alert has raised, with the following details:\n#{test.error}\nRegards\n"          _send_mail( @target, subject, body )        end @@ -43,7 +43,7 @@ module Custodian        #        def clear          subject = "#{test.target} cleared #{test.get_type}-test" -        body    = "The alert has cleared\nRegards\n"; +        body    = "The alert has cleared\nRegards\n"          _send_mail( @target, subject, body )        end  | 
