aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/mauve/alert.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mauve/alert.rb b/lib/mauve/alert.rb
index d3bcf7a..4e0ec67 100644
--- a/lib/mauve/alert.rb
+++ b/lib/mauve/alert.rb
@@ -826,6 +826,10 @@ module Mauve
#
alert_db.raised_at = raise_time if alert_db.raised_at.nil?
alert_db.will_raise_at = nil
+ #
+ # Make sure the cleared at time is unset if we're raising this alert.
+ #
+ alert_db.cleared_at = nil
else
alert_db.raised_at = nil
alert_db.will_raise_at = raise_time