aboutsummaryrefslogtreecommitdiff
path: root/weed/admin/handlers/cluster_handlers.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2025-07-02 23:17:27 -0700
committerchrislu <chris.lu@gmail.com>2025-07-02 23:17:27 -0700
commitebb16f474ce660b589dc1301dd31106543b51f5a (patch)
tree28d84f008d16cd09cdc938d009757b106705823d /weed/admin/handlers/cluster_handlers.go
parent40e3eae21f3c9fa6d751307b5843c733b8a196bc (diff)
downloadseaweedfs-ebb16f474ce660b589dc1301dd31106543b51f5a.tar.xz
seaweedfs-ebb16f474ce660b589dc1301dd31106543b51f5a.zip
remove status fields
Diffstat (limited to 'weed/admin/handlers/cluster_handlers.go')
-rw-r--r--weed/admin/handlers/cluster_handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/admin/handlers/cluster_handlers.go b/weed/admin/handlers/cluster_handlers.go
index 3c4107533..b89d6aa29 100644
--- a/weed/admin/handlers/cluster_handlers.go
+++ b/weed/admin/handlers/cluster_handlers.go
@@ -189,7 +189,7 @@ func (h *ClusterHandlers) GetClusterTopology(c *gin.Context) {
// GetMasters returns master node information
func (h *ClusterHandlers) GetMasters(c *gin.Context) {
// Simple master info
- c.JSON(http.StatusOK, gin.H{"masters": []gin.H{{"address": "localhost:9333", "status": "active"}}})
+ c.JSON(http.StatusOK, gin.H{"masters": []gin.H{{"address": "localhost:9333"}}})
}
// GetVolumeServers returns volume server information