weed admin: remove system health status

This commit is contained in:
chrislu
2025-07-02 23:57:36 -07:00
parent e89941f390
commit 2cfe079a1f
5 changed files with 127 additions and 213 deletions

View File

@@ -291,7 +291,6 @@ func (h *AdminHandlers) getAdminData(c *gin.Context) dash.AdminData {
FilerNodes: []dash.FilerNode{},
DataCenters: []dash.DataCenter{},
LastUpdated: time.Now(),
SystemHealth: "poor",
}
}
@@ -299,10 +298,3 @@ func (h *AdminHandlers) getAdminData(c *gin.Context) dash.AdminData {
}
// Helper functions
func (h *AdminHandlers) determineSystemHealth(topology *dash.ClusterTopology, masters []dash.MasterNode) string {
if len(topology.VolumeServers) > 0 && len(masters) > 0 {
return "good"
}
return "fair"
}