From 712fa9da2457be782c8163e1b12596a1533a523c Mon Sep 17 00:00:00 2001 From: tzwang Date: Wed, 30 Apr 2025 15:39:01 +0800 Subject: [PATCH] updated types --- desc/schedule/pcm-schedule.api | 1 + internal/types/types.go | 1 + 2 files changed, 2 insertions(+) diff --git a/desc/schedule/pcm-schedule.api b/desc/schedule/pcm-schedule.api index b7e59dda..bbf05fc0 100644 --- a/desc/schedule/pcm-schedule.api +++ b/desc/schedule/pcm-schedule.api @@ -154,6 +154,7 @@ type ( // 调度资源信息:/queryResources QueryResourcesReq{ + Type string `json:"type"` ClusterIDs []string `json:"clusterIDs,optional"` } diff --git a/internal/types/types.go b/internal/types/types.go index c9052a2d..29fde3e4 100644 --- a/internal/types/types.go +++ b/internal/types/types.go @@ -6013,6 +6013,7 @@ type GetClusterBalanceByIdResp struct { } type QueryResourcesReq struct { + Type string `json:"type"` ClusterIDs []string `json:"clusterIDs,optional"` }