mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
until dev_utils spec_helper is changed to new method name, alias it.
Fixes #8117
This commit is contained in:
parent
dde2730d10
commit
efa7f71584
1 changed files with 3 additions and 0 deletions
|
@ -92,6 +92,9 @@ module LogStash
|
|||
end
|
||||
end
|
||||
|
||||
# until dev_utils/rspec/spec_helper is changed, we need to have both methods
|
||||
singleton_class.send(:alias_method, :initialize, :reconfigure)
|
||||
|
||||
def self.get_logging_context
|
||||
return LoggerContext.getContext(false)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue