use free word instead of idle

This commit is contained in:
凡羊羊 2019-11-06 19:21:39 +08:00
parent f707c65a01
commit 43ca2ec214

View File

@ -60,7 +60,7 @@ func getClusterInfo(c *cli.Context) error {
os.Exit(1)
}
table := uitable.New()
table.AddRow("", "Used/Total", "Use of", "Health idle", "Unhealth idle")
table.AddRow("", "Used/Total", "Use of", "Health free", "Unhealth free")
table.AddRow("CPU", fmt.Sprintf("%.2f/%d", clusterInfo.ReqCPU, clusterInfo.CapCPU),
fmt.Sprintf("%d", func() int {
if clusterInfo.CapCPU == 0 {