Fix matched formatting

This commit is contained in:
2023-02-09 22:59:00 +00:00
parent 090fae013d
commit 4042d60c57

View File

@@ -218,7 +218,7 @@ class NotificationRuleData(object):
def format_matched(self, messages):
matched = {}
for message in messages:
for field, value in self.data:
for field, value in self.parsed.items():
if field == "msg":
# Allow partial matches for msg
for msg in value: