mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 00:38:27 +00:00
Fix OpenSearch compatibility issue (#30278)
This commit is contained in:
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)
|
||||
Reference in New Issue
Block a user