Method: Fluent::Label#configure

Defined in:
lib/fluent/label.rb

#configure(conf) ⇒ Object



30
31
32
33
34
35
36
# File 'lib/fluent/label.rb', line 30

def configure(conf)
  super

  if conf.elements('match').size == 0
    raise ConfigError, "Missing <match> sections in <label #{@context}> section"
  end
end