|
|
|
@@ -74,13 +74,14 @@ func CloudBrains(ctx *context.Context) { |
|
|
|
Page: page, |
|
|
|
PageSize: setting.UI.IssuePagingNum, |
|
|
|
}, |
|
|
|
Keyword: keyword, |
|
|
|
Type: debugType, |
|
|
|
JobTypeNot: jobTypeNot, |
|
|
|
JobStatusNot: jobStatusNot, |
|
|
|
JobStatus: jobStatuses, |
|
|
|
JobTypes: jobTypes, |
|
|
|
NeedRepoInfo: true, |
|
|
|
Keyword: keyword, |
|
|
|
Type: debugType, |
|
|
|
JobTypeNot: jobTypeNot, |
|
|
|
JobStatusNot: jobStatusNot, |
|
|
|
JobStatus: jobStatuses, |
|
|
|
JobTypes: jobTypes, |
|
|
|
NeedRepoInfo: true, |
|
|
|
IsLatestVersion: modelarts.IsLatestVersion, |
|
|
|
}) |
|
|
|
if err != nil { |
|
|
|
ctx.ServerError("Get job failed:", err) |
|
|
|
@@ -120,8 +121,9 @@ func DownloadCloudBrains(ctx *context.Context) { |
|
|
|
Page: page, |
|
|
|
PageSize: 1, |
|
|
|
}, |
|
|
|
Type: modelarts.DebugType, |
|
|
|
NeedRepoInfo: false, |
|
|
|
Type: modelarts.DebugType, |
|
|
|
NeedRepoInfo: false, |
|
|
|
IsLatestVersion: modelarts.IsLatestVersion, |
|
|
|
}) |
|
|
|
|
|
|
|
if err != nil { |
|
|
|
|