Fix OpenSearch compatibility issue (#30278)
This commit is contained in:
parent
3a7aec2807
commit
b5b84fad65
3 changed files with 30 additions and 2 deletions
11
lib/elasticsearch/client_extensions.rb
Normal file
11
lib/elasticsearch/client_extensions.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module Elasticsearch
|
||||
module ClientExtensions
|
||||
def verify_elasticsearch
|
||||
@verified = true
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Elasticsearch::Client.prepend(Elasticsearch::ClientExtensions)
|
Loading…
Add table
Add a link
Reference in a new issue