class Sensu::Package::Metrics::PackageLogReader::LineNotFound

Public Class Methods

new(package) click to toggle source
# File lib/sensu/package/metrics/package_log_reader.rb, line 26
def initialize(package)
  @package = package
end

Public Instance Methods

to_h() click to toggle source
# File lib/sensu/package/metrics/package_log_reader.rb, line 30
def to_h
  {
    package: @package,
    status: 'not_found'
  }
end