added proxy id to cluster api response

This commit is contained in:
crn4
2026-03-31 00:28:19 +02:00
parent 4fdc39c8f8
commit de3cb06067
5 changed files with 11 additions and 1 deletions

View File

@@ -195,6 +195,7 @@ func (h *handler) getClusters(w http.ResponseWriter, r *http.Request) {
apiClusters := make([]api.ProxyCluster, 0, len(clusters))
for _, c := range clusters {
apiClusters = append(apiClusters, api.ProxyCluster{
Id: c.ID,
Address: c.Address,
ConnectedProxies: c.ConnectedProxies,
})