mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 10:46:58 +08:00
fix(region): show correct disk iops (#22538)
This commit is contained in:
@@ -2616,9 +2616,8 @@ func (manager *SDiskManager) FetchCustomizeColumns(
|
||||
rows[i].Brand = "Unknown"
|
||||
rows[i].Provider = "Unknown"
|
||||
}
|
||||
if len(rows[i].ExternalId) == 0 {
|
||||
//rows[i].Iops = iops
|
||||
//rows[i].Throughput = bps
|
||||
// 仅kvm使用
|
||||
if len(rows[i].ManagerId) == 0 {
|
||||
disk.Iops = iops
|
||||
disk.Throughput = bps
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user