diff options
Diffstat (limited to 'lib/mauve/alert.rb')
-rw-r--r-- | lib/mauve/alert.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mauve/alert.rb b/lib/mauve/alert.rb index 5a3d181..706b0e3 100644 --- a/lib/mauve/alert.rb +++ b/lib/mauve/alert.rb @@ -400,12 +400,12 @@ module Mauve # Send a notification for this alert. # # @return [Boolean] Showing if an alert has been sent. - def notify + def notify(at = Time.now) if self.alert_group.nil? logger.warn "Could not notify for #{self} since there are no matching alert groups" false else - self.alert_group.notify(self) + self.alert_group.notify(self, at) end end |