summaryrefslogtreecommitdiff
path: root/lib/custodian/alerts/smtp.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-03-09 13:15:06 +0000
committerSteve Kemp <steve@steve.org.uk>2015-03-09 13:15:06 +0000
commit48e66ecec133ef348c0a46b80998230116121f3b (patch)
tree98484eb8680894990229e77e9f3004fed6836017 /lib/custodian/alerts/smtp.rb
parent82171c3406a790ac9740c439e2aafce21853e0a0 (diff)
Do not terminate expressions with ";".
Ruby is not Perl, much as I sometimes wish it were.
Diffstat (limited to 'lib/custodian/alerts/smtp.rb')
-rw-r--r--lib/custodian/alerts/smtp.rb4
1 files changed, 2 insertions, 2 deletions
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