Sha256: ca8facf96f116fbb18b8271eda91ce82e11f8a23b0e78f795409c430832a4a28

Contents?: true

Size: 212 Bytes

Versions: 4

Compression:

Stored size: 212 Bytes

Contents

module Flapjack
  module Filters
    class Ok
      def initialize(opts={})
        @log = opts[:log]
      end

      def block?(result)
        !result.warning? || !result.critical?
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
flapjack-0.5.5 lib/flapjack/filters/ok.rb
flapjack-0.5.4 lib/flapjack/filters/ok.rb
flapjack-0.5.3 lib/flapjack/filters/ok.rb
flapjack-0.5.1 lib/flapjack/filters/ok.rb