diff --git a/lib/fluent/static_config_analysis.rb b/lib/fluent/static_config_analysis.rb index 692503b6af..2ed3efa06c 100644 --- a/lib/fluent/static_config_analysis.rb +++ b/lib/fluent/static_config_analysis.rb @@ -128,6 +128,10 @@ def static_label_analyse(conf) ret = [] conf.elements(name: 'label').each do |e| name = e.arg + if name.empty? + raise ConfigError, 'Missing symbol argument on