mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-11-30 18:58:02 +08:00
use free word instead of idle
This commit is contained in:
parent
f707c65a01
commit
43ca2ec214
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user