mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
until dev_utils spec_helper is changed to new method name, alias it.
Fixes #8117
This commit is contained in:
parent
5c60888f66
commit
dbf6a1d039
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