Browse Source

add

tags/v1.22.12.1^2
Gitea 3 years ago
parent
commit
50f14ef3be
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      modules/modelarts/resty.go

+ 1
- 4
modules/modelarts/resty.go View File

@@ -498,8 +498,6 @@ sendjob:

req, _ := json.Marshal(createJobParams)
log.Info("postapi json: %s", string(req))
log.Info("postapi detail all: %s", createJobParams)
log.Info("postapi detail Volume: %s", createJobParams.Config.Volumes)

if res.StatusCode() == http.StatusUnauthorized && retry < 1 {
retry++
@@ -545,8 +543,7 @@ func createTrainJob(createJobParams models.CreateTrainJobParams) (*models.Create
var result models.CreateTrainJobResult

retry := 0

log.Info("postapi detail", createJobParams.Config.Volumes)
log.Info("postapi detail", createJobParams)

sendjob:
res, err := client.R().


Loading…
Cancel
Save