查询运行中的任务列表同步信息添加入参
Former-commit-id: dbd9e04e37e46779b026916518ec35999a60e6c2
This commit is contained in:
parent
18af677d0b
commit
d82fd1fe44
|
@ -27,9 +27,10 @@ func InitCron(svc *svc.ServiceContext) {
|
||||||
submitJob(infoList, submitJobLogic)
|
submitJob(infoList, submitJobLogic)
|
||||||
// 查询运行中的任务列表同步信息
|
// 查询运行中的任务列表同步信息
|
||||||
listReq := modelarts.ListTrainingJobsreq{
|
listReq := modelarts.ListTrainingJobsreq{
|
||||||
ProjectId: "0a62ffb0d48026c12fbfc011b8d23f0b",
|
ProjectId: "0a62ffb0d48026c12fbfc011b8d23f0b",
|
||||||
Limit: 10,
|
Limit: 10,
|
||||||
OffSet: 0,
|
OffSet: 0,
|
||||||
|
ModelArtsType: "cn-north-4.myhuawei",
|
||||||
}
|
}
|
||||||
listJob, err := listLogic.GetListTrainingJobs(&listReq)
|
listJob, err := listLogic.GetListTrainingJobs(&listReq)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue