Skip to content

Commit

Permalink
Updated comment
Browse files Browse the repository at this point in the history
Signed-off-by: Muhammad Mikaal S. Anwar <[email protected]>
  • Loading branch information
mikaalanwar committed Sep 21, 2023
1 parent 6799118 commit b987618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion search/search_service/proxy/es_proxy_v2_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b987618

Please sign in to comment.