Commit e64ea17b authored by duanjinfei's avatar duanjinfei

update standard task handler

parent 8172f273
......@@ -303,7 +303,7 @@ func (t *TaskHandler) ComputeTaskHandler(taskMsg *nodeManagerV1.PushTaskMessage)
return
}
log.WithField("headers", post.Header).Info("return task http headers")
if taskMsg.TaskKind == baseV1.TaskKind_StandardTask && !isUseFileCache {
if taskMsg.TaskKind == baseV1.TaskKind_StandardTask {
taskExecResult.TaskRespBody = readBody
}
taskExecResult.TaskHttpHeaders = headers
......
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