From 1bbb35d3cf819f4855ed3639c3a75cfe8e8ddf17 Mon Sep 17 00:00:00 2001 From: qiwang <1364512070@qq.com> Date: Thu, 24 Oct 2024 15:35:16 +0800 Subject: [PATCH] fix: update AiInfo task_ai Former-commit-id: 8d900ea964c3d21e34eb015849f373d68e452fe6 --- client/types.go | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/client/types.go b/client/types.go index 80f842be..ca6987c9 100644 --- a/client/types.go +++ b/client/types.go @@ -136,20 +136,20 @@ type CloudInfo struct { } type AiInfo struct { - Id int64 `json:"id"` // id - AdapterId int64 `json:"adapterId,omitempty,optional"` - AdapterName string `json:"adapterName,omitempty,optional"` - ClusterId int64 `json:"clusterId,omitempty,optional"` - ClusterIds []int64 `json:"clusterIds,omitempty,optional"` - TaskId int64 `json:"taskId,omitempty"` - ClusterName string `json:"clusterName,omitempty,optional"` - ImageId string `json:"imageId,omitempty"` - ResourceId string `json:"resourceId,omitempty"` - AlgorithmId string `json:"algorithmId,omitempty"` - MetadataName string `json:"metadataName,omitempty"` - Command string `json:"command,omitempty"` - Environments string `json:"environments,omitempty"` - Parameters string `json:"parameters,omitempty"` + Id int64 `json:"id"` // id + AdapterId int64 `json:"adapterId,omitempty,optional"` + AdapterName string `json:"adapterName,omitempty,optional"` + ClusterId int64 `json:"clusterId,omitempty,optional"` + ClusterIds []int64 `json:"clusterIds,omitempty,optional"` + TaskId int64 `json:"taskId,omitempty"` + ClusterName string `json:"clusterName,omitempty,optional"` + ImageId string `json:"imageId,omitempty"` + //ResourceId string `json:"resourceId,omitempty"` + AlgorithmId string `json:"algorithmId,omitempty"` + MetadataName string `json:"metadataName,omitempty"` + Command string `json:"command,omitempty"` + Environments string `json:"environments,omitempty"` + Parameters string `json:"parameters,omitempty"` Name string `json:"name,omitempty"` Status string `json:"status,omitempty"`