Sha256: 199bde6f10f0342e4d21de30a486667d8a1ea22b7ea3438af4832dc42b5dfadb
Contents?: true
Size: 376 Bytes
Versions: 59
Compression:
Stored size: 376 Bytes
Contents
#!/usr/bin/env ruby require 'flapjack/filters/base' module Flapjack module Filters class ScheduledMaintenance include Base def block?(event, entity_check, previous_state) result = entity_check.in_scheduled_maintenance? @logger.debug("Filter: Scheduled Maintenance: #{result ? "block" : "pass"}") result end end end end
Version data entries
59 entries across 59 versions & 1 rubygems