From 38e1a8e4a76b7353ac5357031705efd677c3f0a4 Mon Sep 17 00:00:00 2001 From: devad Date: Mon, 12 Jun 2023 19:50:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20pcm-ac-service.yaml=20=E6=9B=B4=E6=94=B9?= =?UTF-8?q?=E4=B8=BAnodePort?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: devad Former-commit-id: 8f0ed19d2c634271f7329bc5a419be8a1e912183 --- adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/cronlogic.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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",