Skip to content

Commit

Permalink
Merge pull request flapjack#722 from flapjack/721_pagerduty_exception…
Browse files Browse the repository at this point in the history
…_get_acks

compact resulting array from EntityCheck#self.unacknowledged_failing, fixes flapjack#721
  • Loading branch information
jessereynolds committed Nov 27, 2014
2 parents dd888a3 + 9450d6e commit 689a859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/flapjack/data/entity_check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def self.unacknowledged_failing(options = {})
redis.exists(entity_check + ':unscheduled_maintenance')
}.collect {|entity_check|
Flapjack::Data::EntityCheck.for_event_id(entity_check, :redis => redis)
}
}.compact
end

def self.find_maintenance(options = {})
Expand Down

0 comments on commit 689a859

Please sign in to comment.