From 5a88f9e766c9905a4d0bb5f8dde08434a64ab960 Mon Sep 17 00:00:00 2001 From: tzwang Date: Thu, 29 Aug 2024 11:12:43 +0800 Subject: [PATCH] updated createDeployTask types Former-commit-id: 87c4555d04f0648678ec6f429cba9f2613c20c8d --- internal/types/types.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/types/types.go b/internal/types/types.go index 438a6cce..5af8a866 100644 --- a/internal/types/types.go +++ b/internal/types/types.go @@ -6091,13 +6091,13 @@ type GetAdaptersByModelReq struct { } type GetAdaptersByModelResp struct { - Adapters []AdapterAvail `json:"adapters"` + Adapters []*AdapterAvail `json:"adapters"` } type AdapterAvail struct { - AdapterId string `json:"adapterId"` - AdapterName string `json:"taskName"` - Clusters []ClusterAvail `json:"clusters"` + AdapterId string `json:"adapterId"` + AdapterName string `json:"taskName"` + Clusters []*ClusterAvail `json:"clusters"` } type ClusterAvail struct {