From 710e49e2e1dea55b2bc3d95abc46d5be796264b0 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Wed, 18 Oct 2023 11:57:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- features/cm/ne.go | 2 +- lib/dborm/dborm.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/features/cm/ne.go b/features/cm/ne.go index 22c6586..329ac9d 100644 --- a/features/cm/ne.go +++ b/features/cm/ne.go @@ -634,7 +634,7 @@ func ImportCmToNF(w http.ResponseWriter, r *http.Request) { out, err := cmd.CombinedOutput() log.Tracef("Exec output: %v", string(out)) if err != nil { - log.Error("Faile to execute rpm command:", err) + log.Error("Faile to execute command:", err) services.ResponseInternalServerError500ProcessError(w, err) return } diff --git a/lib/dborm/dborm.go b/lib/dborm/dborm.go index 4c132a7..5fe5412 100644 --- a/lib/dborm/dborm.go +++ b/lib/dborm/dborm.go @@ -1751,6 +1751,7 @@ type TraceData struct { IfType int `json:"ifType" xorm:"if_type"` MsgType int `json:"msgType" xorm:"msg_type"` MsgDirect int `json:"msgDirect" xorm:"msg_direct"` + Length int `json:"length" xorm:"length"` Timestamp int64 `json:"timestamp" xorm:"timestamp"` RawMsg []byte `json:"rawMsg" xorm:"raw_msg"` DecMsg string `json:"decMsg" xorm:"dec_msg"`