|
|
|
@@ -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(). |
|
|
|
|