fix
This commit is contained in:
parent
0c53f7bef6
commit
d7e9e01ad4
2
rules.go
2
rules.go
@ -18,7 +18,7 @@ func resetMsgParsingRules2() error {
|
|||||||
|
|
||||||
err = json.Unmarshal(b, &rules)
|
err = json.Unmarshal(b, &rules)
|
||||||
|
|
||||||
for k, r := range rules {
|
for _, r := range rules {
|
||||||
r2 := MessageParsingRule{
|
r2 := MessageParsingRule{
|
||||||
Priority: r.Priority,
|
Priority: r.Priority,
|
||||||
Description: r.Description,
|
Description: r.Description,
|
||||||
|
Loading…
Reference in New Issue
Block a user