Fix formatting matched arguments
This commit is contained in:
@@ -371,6 +371,8 @@ class ElasticsearchBackend(StorageBackend):
|
||||
"""
|
||||
Check the results of a scheduled query for aggregations.
|
||||
"""
|
||||
if rule_object.aggs is None:
|
||||
return result_map
|
||||
for index, (meta, result) in result_map.items():
|
||||
# Default to true, if no aggs are found, we still want to match
|
||||
match = True
|
||||
|
||||
Reference in New Issue
Block a user