lib/flapjack/data/migration.rb in flapjack-1.3.0rc2 vs lib/flapjack/data/migration.rb in flapjack-1.3.0rc3

- old
+ new

@@ -203,10 +203,10 @@ logger = options[:logger] return if redis.exists('validated_scheduled_maintenance_periods') - Flapjack::Data::EntityCheck.all(:redis => redis).select {|ec| + Flapjack::Data::EntityCheck.all(:redis => redis).compact.select {|ec| ec.in_scheduled_maintenance? }.each do |check| check.update_current_scheduled_maintenance(:revalidate => true) end