Commit ef3afe97 authored by duanjinfei's avatar duanjinfei

Merge branch 'master' into test

parents 178a5484 67cb4757
......@@ -540,8 +540,8 @@ func (op *TaskOp) waitReqContainerOk(dockerOp *operate.DockerOp) error {
post, err := op.httpClient.Do(op.request)
if err != nil {
log.WithField("error:", err).Error("Http client post request container failed")
//return fmt.Errorf("%s,%s", "Http client post request container failed", err.Error())
continue
return fmt.Errorf("%s,%s", "Http client post request container failed", err.Error())
//continue
}
log.WithField("StatusCode", post.StatusCode).WithField("taskId", op.taskMsg.TaskId).Info("Exec task result")
if post.StatusCode == http.StatusOK {
......
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