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