Fix dashboard check for Elasticsearch suggested command including incorrect names (#26658)

lolsob-rspec
Claire 2023-08-25 18:17:22 +02:00 committed by GitHub
parent 5a74675fce
commit c833282412
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ class Admin::SystemCheck::ElasticsearchCheck < Admin::SystemCheck::BaseCheck
def mismatched_indexes
@mismatched_indexes ||= INDEXES.filter_map do |klass|
klass.index_name if Chewy.client.indices.get_mapping[klass.index_name]&.deep_symbolize_keys != klass.mappings_hash
klass.base_name if Chewy.client.indices.get_mapping[klass.index_name]&.deep_symbolize_keys != klass.mappings_hash
end
end