From b9876186335760ab1541cf964ee3a70693a0c8ca Mon Sep 17 00:00:00 2001 From: "Muhammad Mikaal S. Anwar" Date: Thu, 21 Sep 2023 18:32:43 +0200 Subject: [PATCH] Updated comment Signed-off-by: Muhammad Mikaal S. Anwar --- search/search_service/proxy/es_proxy_v2_1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search/search_service/proxy/es_proxy_v2_1.py b/search/search_service/proxy/es_proxy_v2_1.py index 4822b68c29..6a07566fcb 100644 --- a/search/search_service/proxy/es_proxy_v2_1.py +++ b/search/search_service/proxy/es_proxy_v2_1.py @@ -363,7 +363,7 @@ def search(self, *, multisearch = MultiSearch(using=self.elasticsearch) for resource in resource_types: - # guard clause to prevent search in missing indices/aliases + # guard clause to prevent search in missing indices or aliases aliases_in_es = self.elasticsearch.indices.get_alias().keys() if self.get_index_alias_for_resource(resource_type=resource) not in aliases_in_es: continue