mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix(region): show correct disk iops (#22537)
This commit is contained in:
@@ -2516,9 +2516,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