This commit is contained in:
shoopea 2019-05-08 19:13:19 +08:00
parent 60878414c3
commit a5c1110835

1
sql.go
View File

@ -315,6 +315,7 @@ func loadMsgParsingRules() (m map[int]MessageParsingRule, err error) {
i.Description = descn i.Description = descn
i.Rule = rule i.Rule = rule
i.MsgTypeID = msgTypeID i.MsgTypeID = msgTypeID
i.re = regexp.MustCompile(rule)
m[count] = *i m[count] = *i
count++ count++
} }