Fix matched formatting
This commit is contained in:
parent
090fae013d
commit
4042d60c57
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue