Browse Source

add type=each

tags/v1.22.6.1^2
lewis 3 years ago
parent
commit
695b712f39
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/modelarts/resty.go

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

@@ -1131,7 +1131,7 @@ sendjob:
res, err := client.R().
SetAuthToken(TOKEN).
SetResult(&result).
Get(HOST + "/v1/" + setting.ProjectID + urlTrainJob + "/" + jobID + "/versions/" + versionID + "/pod/" + podName + "/metric-statistic")
Get(HOST + "/v1/" + setting.ProjectID + urlTrainJob + "/" + jobID + "/versions/" + versionID + "/pod/" + podName + "/metric-statistic?statistic_type=each")

if err != nil {
return nil, fmt.Errorf("resty GetTrainJobMetricStatistic: %v", err)


Loading…
Cancel
Save