mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Merge branch 'master' of github.com:logstash/logstash
This commit is contained in:
commit
a92b5e5409
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ module LogStash::Config::Mixin
|
|||
# warn about deprecated variable use
|
||||
params.each do |name, value|
|
||||
opts = self.class.get_config[name]
|
||||
if opts[:deprecated]
|
||||
if opts && opts[:deprecated]
|
||||
@logger.warn("Deprecated config item #{name.inspect} set " +
|
||||
"in #{self.class.name}")
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue