raise error on empty wildcarded indices (#1276)

This commit is contained in:
Tom Kralidis
2023-06-21 16:27:23 -04:00
committed by GitHub
parent 3b5330782f
commit f436f0553f
+1 -1
View File
@@ -99,7 +99,7 @@ class ElasticsearchProvider(BaseProvider):
"""
fields_ = {}
ii = self.es.indices.get(index=self.index_name)
ii = self.es.indices.get(index=self.index_name, allow_no_indices=False)
LOGGER.debug(f'Response: {ii}')
try: