mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 14:57:16 +08:00
refactor: 重构types包
This commit is contained in:
@@ -51,8 +51,8 @@ func GetMonitoringInfo() MonitoringInfo {
|
||||
res.Disk, _ = disk.Partitions(true)
|
||||
|
||||
ioCounters, _ := disk.IOCounters()
|
||||
for _, io := range ioCounters {
|
||||
res.DiskIO = append(res.DiskIO, io)
|
||||
for _, info := range ioCounters {
|
||||
res.DiskIO = append(res.DiskIO, info)
|
||||
}
|
||||
|
||||
for _, partition := range res.Disk {
|
||||
|
||||
Reference in New Issue
Block a user