Commit 3c78c6ee authored by duanjinfei's avatar duanjinfei

update log print

parent 468924d0
...@@ -232,7 +232,7 @@ func (t *TaskHandler) ComputeTaskHandler(taskMsg *nodeManagerV1.PushTaskMessage) ...@@ -232,7 +232,7 @@ func (t *TaskHandler) ComputeTaskHandler(taskMsg *nodeManagerV1.PushTaskMessage)
log.WithField("isUseFileCache", isUseFileCache).Info("is use file cache") log.WithField("isUseFileCache", isUseFileCache).Info("is use file cache")
if isUseFileCache && readBody != nil { if isUseFileCache && readBody != nil {
containerResp := &models.ModelResponse{} containerResp := &models.ModelResponse{}
log.WithField("task resp", readBody).Info("received response") //log.WithField("task resp", readBody).Info("received response")
err = json.Unmarshal(readBody, &containerResp) err = json.Unmarshal(readBody, &containerResp)
if err != nil { if err != nil {
log.WithError(err).Error("Error unmarshalling oss resp body failed") log.WithError(err).Error("Error unmarshalling oss resp body failed")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment