mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
until dev_utils spec_helper is changed to new method name, alias it.
Fixes #8117
This commit is contained in:
parent
3ce46f5473
commit
456f3c30f0
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