From 9c7df769997408dde44dfa7dde8ffce7f50b2b24 Mon Sep 17 00:00:00 2001 From: simonzhangsz Date: Mon, 25 Sep 2023 11:29:22 +0800 Subject: [PATCH] d --- features/trace/trace.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/trace/trace.go b/features/trace/trace.go index b22382c4..163a3783 100644 --- a/features/trace/trace.go +++ b/features/trace/trace.go @@ -406,7 +406,7 @@ func ParseRawMsg2Html(w http.ResponseWriter, r *http.Request) { if traceData.DecMsg == "" { htmlFile := fmt.Sprintf("traceDecMessage-%d-%d.html", traceData.TaskID, traceData.ID) filePath = config.GetYamlConfig().OMC.FrontTraceDir + "/" + htmlFile - command := fmt.Sprintf("/usr/local/omc/bin/data2html -f %s -t %d -i N%d -d %x", filePath, traceData.Timestamp, traceData.IfType, traceData.RawMsg) + command := fmt.Sprintf("/usr/local/omc/bin/data2html -f %s -t %s -i N%d -d %x", filePath, traceData.Timestamp, traceData.IfType, traceData.RawMsg) out, err := run.ExecCmd(command, "/") log.Tracef("Exec output: %v", string(out)) if err != nil {