diff --git a/api/desc/core/pcm-core.api b/api/desc/core/pcm-core.api index de86c2b9..a1aebb3b 100644 --- a/api/desc/core/pcm-core.api +++ b/api/desc/core/pcm-core.api @@ -172,13 +172,6 @@ type ( getClusterListResp { clusters []ClusterInfo `json:"clusters"` } - ClusterInfo { - Id int64 `json:"id"` - Name string `json:"name"` - Address string `json:"address"` - Token string `json:"token"` - MetricsUrl string `json:"metricsUrl"` - } ) type ( diff --git a/api/internal/types/types.go b/api/internal/types/types.go index 90b04977..19e46e4e 100644 --- a/api/internal/types/types.go +++ b/api/internal/types/types.go @@ -157,14 +157,6 @@ type GetClusterListResp struct { Clusters []ClusterInfo `json:"clusters"` } -type ClusterInfo struct { - Id int64 `json:"id"` - Name string `json:"name"` - Address string `json:"address"` - Token string `json:"token"` - MetricsUrl string `json:"metricsUrl"` -} - type ListRegionResp struct { Code int32 `json:"code"` Msg string `json:"msg"`