From 044d34c09f446cfca04e8ff1c53a3c5435cf77d8 Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Fri, 30 Nov 2012 14:01:40 +0000 Subject: Re-set raised_at if the alert has just been unacknowledged. --- lib/mauve/alert.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/mauve/alert.rb b/lib/mauve/alert.rb index 6138664..a9fff94 100644 --- a/lib/mauve/alert.rb +++ b/lib/mauve/alert.rb @@ -455,7 +455,7 @@ module Mauve self.acknowledged_by = nil self.acknowledged_at = nil self.will_unacknowledge_at = nil - self.raised_at = at if self.raised_at.nil? + self.raised_at = at if self.raised_at.nil? or self.was_acknowledged? self.will_raise_at = nil self.cleared_at = nil # Don't clear will_clear_at -- cgit v1.2.1