Fix matched formatting

This commit is contained in:
Mark Veidemanis 2023-02-09 22:59:00 +00:00
parent 090fae013d
commit 4042d60c57
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 1 additions and 1 deletions

View File

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