lib/flapjack/executive.rb in flapjack-0.6.35 vs lib/flapjack/executive.rb in flapjack-0.6.36
- old
+ new
@@ -159,10 +159,10 @@
if !event.previous_state && event.ok?
@logger.debug("setting skip_filters to true because there was no previous state and event is ok")
result[:skip_filters] = true
end
- entity_check.update_scheduled_maintenance
+ entity_check.update_current_scheduled_maintenance
# Action events represent human or automated interaction with Flapjack
when 'action'
# When an action event is processed, store the event.
@redis.hset(event.id + ':actions', timestamp, event.state)