Fix the percent of pool used (#4910)
Fix a the percent of pool used in rebalance status
This commit is contained in:
@@ -88,7 +88,7 @@ func mainAdminRebalanceStatus(ctx *cli.Context) error {
|
||||
)
|
||||
row := make([]string, len(rInfo.Pools))
|
||||
for idx, pool := range rInfo.Pools {
|
||||
statusStr := fmt.Sprintf("%.2f%%", pool.Used)
|
||||
statusStr := fmt.Sprintf("%.2f%%", pool.Used*100)
|
||||
if pool.Status == "Started" {
|
||||
statusStr += " *" // indicating rebalance is in progress in this pool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user