From 120dbecc1d85e67db90f9b54e7ef09e2907545f2 Mon Sep 17 00:00:00 2001 From: tzwang Date: Wed, 15 May 2024 16:57:40 +0800 Subject: [PATCH] updated aioption protobuf Former-commit-id: 1e23b5326cb6c616c8d20fa64b789ef68fbafcbf --- api/internal/types/types.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/internal/types/types.go b/api/internal/types/types.go index 3af738ab..8d765cea 100644 --- a/api/internal/types/types.go +++ b/api/internal/types/types.go @@ -1164,7 +1164,7 @@ type CommitHpcTaskReq struct { Description string `json:"description,optional"` TenantId int64 `json:"tenantId,optional"` TaskId int64 `json:"taskId,optional"` - AdapterIds []string `json:"adapterId"` + AdapterIds []string `json:"adapterIds"` MatchLabels map[string]string `json:"matchLabels,optional"` CardCount int64 `json:"cardCount,optional"` WorkDir string `json:"workDir,optional"` //paratera:workingDir @@ -5622,6 +5622,7 @@ type ScheduleResp struct { type ScheduleResult struct { ClusterId string `json:"clusterId"` TaskId string `json:"taskId"` + Card string `json:"card"` Strategy string `json:"strategy"` Replica int32 `json:"replica"` Msg string `json:"msg"` @@ -5635,6 +5636,7 @@ type AiOption struct { AdapterId string `json:"adapterId"` AiClusterIds []string `json:"aiClusterIds"` ResourceType string `json:"resourceType"` + ComputeCard string `json:"card"` Tops float64 `json:"Tops,optional"` TaskType string `json:"taskType"` Datasets string `json:"datasets"`