test
This commit is contained in:
parent
4279af9ea0
commit
d245e7679b
2
rules.go
2
rules.go
@ -18,6 +18,8 @@ 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)
|
||||||
|
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