diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/cronlogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/cronlogic.go index 907e22e4..c19ffdbb 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/cronlogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/cronlogic.go @@ -65,8 +65,9 @@ func submitJob(infoList *pcmcoreclient.InfoListResp, submitJobLogic *CreateTrain for index, _ := range infoList.AiInfoList { if infoList.AiInfoList[index].Status == "Saved" { submitReq := modelarts.CreateTrainingJobReq{ - Kind: "job", - ProjectId: "0a62ffb0d48026c12fbfc011b8d23f0b", + ModelArtsType: "cn-north-4.myhuawei", + Kind: "job", + ProjectId: "0a62ffb0d48026c12fbfc011b8d23f0b", Metadata: &modelarts.MetadataS{ Name: infoList.AiInfoList[index].Name, WorkspaceId: "0",