Sha256: 3022c3c4b475413cb3daae2e7fcae0dda1618fad78d554abf292f0512a37ea11
Contents?: true
Size: 358 Bytes
Versions: 8
Compression:
Stored size: 358 Bytes
Contents
#!/usr/bin/env ruby require 'flapjack/filters/base' module Flapjack module Filters class ScheduledMaintenance include Base def block?(event) result = @redis.exists("#{event.id}:scheduled_maintenance") @logger.debug("Filter: Scheduled Maintenance: #{result ? "block" : "pass"}") result end end end end
Version data entries
8 entries across 8 versions & 1 rubygems