Class: Fluent::Plugin::MonitorAgentInput::NotFoundJson

Inherits:
Object
  • Object
show all
Defined in:
lib/fluent/plugin/in_monitor_agent.rb

Constant Summary collapse

BODY =
{ 'message' => 'Not found' }.to_json

Class Method Summary collapse

Class Method Details

.call(_req) ⇒ Object



203
204
205
# File 'lib/fluent/plugin/in_monitor_agent.rb', line 203

def self.call(_req)
  [404, { 'Content-Type' => 'application/json' }, BODY]
end