aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/alert.rb
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2012-12-05 12:30:36 +0000
committerPatrick J Cherry <patrick@bytemark.co.uk>2012-12-05 12:30:36 +0000
commit0c913e76a27c9859aa8be0ab39e28f11b585ae0d (patch)
treeb54ac84cf36840adf863b005c23aa0410b6669a9 /lib/mauve/alert.rb
parent516c28dc1ea9f5cae42ac0682593016c2eff75dc (diff)
Record alert summary in the history.
Diffstat (limited to 'lib/mauve/alert.rb')
-rw-r--r--lib/mauve/alert.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mauve/alert.rb b/lib/mauve/alert.rb
index 40d2f1c..cbf4a40 100644
--- a/lib/mauve/alert.rb
+++ b/lib/mauve/alert.rb
@@ -351,7 +351,7 @@ module Mauve
history.event = "ACKNOWLEDGED until #{self.will_unacknowledge_at}"
history.user = self.acknowledged_by
else
- history.event = update_type.upcase
+ history.event = [self.update_type.upcase, self.summary].join(": ")
end
#