This commit is contained in:
2023-08-22 09:39:00 +08:00
parent 1ee5b734ce
commit a534de00bd
2 changed files with 2 additions and 2 deletions

View File

@@ -149,7 +149,7 @@ func PostTraceTaskToNF(w http.ResponseWriter, r *http.Request) {
succNE := fmt.Sprintf("%s.%s", neInfo.NeType, neInfo.NeId)
traceTask.SuccNEs = append(traceTask.SuccNEs, succNE)
default:
log.Warn("Post return code:%d, message:%s", resp.StatusCode(), string(resp.Body()))
log.Warnf("Post return code:%d, message:%s", resp.StatusCode(), string(resp.Body()))
failNE := fmt.Sprintf("%s.%s", neInfo.NeType, neInfo.NeId)
traceTask.FailNEs = append(traceTask.FailNEs, failNE)
}