aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/alert_changed.rb
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2011-08-19 10:23:01 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2011-08-19 10:23:01 +0100
commitc1cf28d9dcc63622b5df1caeab3a2baf66811443 (patch)
tree1bde7a1aac62472f73740657bfe77a01184e534c /lib/mauve/alert_changed.rb
parent3455b9a9f195e273e574989a0845ad8d2065e82f (diff)
Added last_state_changed thing for MauveThread. Closes #1836.
Diffstat (limited to 'lib/mauve/alert_changed.rb')
-rw-r--r--lib/mauve/alert_changed.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mauve/alert_changed.rb b/lib/mauve/alert_changed.rb
index 2871aee..5cd8b2c 100644
--- a/lib/mauve/alert_changed.rb
+++ b/lib/mauve/alert_changed.rb
@@ -91,6 +91,7 @@ module Mauve
end
def poll # mimic interface from Alert
+ logger.debug("Polling #{self.to_s}")
remind if remind_at.is_a?(Time) and remind_at <= Time.now
end