mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
This PR adds the load of i18n to LogStash::Settings to fix uninitialized constant I18n exception when using `logstash-keystore`
(cherry picked from commit d63b6ae564
)
Co-authored-by: kaisecheng <69120390+kaisecheng@users.noreply.github.com>
This commit is contained in:
parent
cd9fb4c39e
commit
6b2b4460a0
1 changed files with 1 additions and 1 deletions
|
@ -21,6 +21,7 @@ require "delegate"
|
|||
require "logstash/util/byte_value"
|
||||
require "logstash/util/substitution_variables"
|
||||
require "logstash/util/time_value"
|
||||
require "i18n"
|
||||
|
||||
module LogStash
|
||||
class Settings
|
||||
|
@ -781,7 +782,6 @@ module LogStash
|
|||
# to be used exclusively through `SettingWithDeprecatedAlias#wrap`
|
||||
class DeprecatedAlias < SimpleDelegator
|
||||
# include LogStash::Util::Loggable
|
||||
|
||||
alias_method :wrapped, :__getobj__
|
||||
attr_reader :canonical_proxy
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue