fix
This commit is contained in:
parent
c8f2b199de
commit
cdbd96efa3
5
rules.go
5
rules.go
@ -19,8 +19,9 @@ func resetMsgParsingRules2() error {
|
|||||||
err = json.Unmarshal(b, &rules)
|
err = json.Unmarshal(b, &rules)
|
||||||
|
|
||||||
for _, r := range rules {
|
for _, r := range rules {
|
||||||
b, err := json.Marshal(r)
|
// b, err := json.Marshal(r)
|
||||||
log.Printf("Rule : %s\n", string(b))
|
// log.Printf("Rule : %s\n", string(b))
|
||||||
|
|
||||||
r.MsgTypeID64, err = codeObjSubTypeId(r.MsgType)
|
r.MsgTypeID64, err = codeObjSubTypeId(r.MsgType)
|
||||||
logOnError(err, "resetMsgParsingRules2 : codeObjSubTypeId("+r.MsgType+")")
|
logOnError(err, "resetMsgParsingRules2 : codeObjSubTypeId("+r.MsgType+")")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user