fix: 添加
This commit is contained in:
@@ -634,7 +634,7 @@ func ImportCmToNF(w http.ResponseWriter, r *http.Request) {
|
|||||||
out, err := cmd.CombinedOutput()
|
out, err := cmd.CombinedOutput()
|
||||||
log.Tracef("Exec output: %v", string(out))
|
log.Tracef("Exec output: %v", string(out))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error("Faile to execute rpm command:", err)
|
log.Error("Faile to execute command:", err)
|
||||||
services.ResponseInternalServerError500ProcessError(w, err)
|
services.ResponseInternalServerError500ProcessError(w, err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1751,6 +1751,7 @@ type TraceData struct {
|
|||||||
IfType int `json:"ifType" xorm:"if_type"`
|
IfType int `json:"ifType" xorm:"if_type"`
|
||||||
MsgType int `json:"msgType" xorm:"msg_type"`
|
MsgType int `json:"msgType" xorm:"msg_type"`
|
||||||
MsgDirect int `json:"msgDirect" xorm:"msg_direct"`
|
MsgDirect int `json:"msgDirect" xorm:"msg_direct"`
|
||||||
|
Length int `json:"length" xorm:"length"`
|
||||||
Timestamp int64 `json:"timestamp" xorm:"timestamp"`
|
Timestamp int64 `json:"timestamp" xorm:"timestamp"`
|
||||||
RawMsg []byte `json:"rawMsg" xorm:"raw_msg"`
|
RawMsg []byte `json:"rawMsg" xorm:"raw_msg"`
|
||||||
DecMsg string `json:"decMsg" xorm:"dec_msg"`
|
DecMsg string `json:"decMsg" xorm:"dec_msg"`
|
||||||
|
|||||||
Reference in New Issue
Block a user