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"` }