2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 09:13:49 +08:00

refactor: 重构types包

This commit is contained in:
耗子
2024-06-23 01:32:45 +08:00
parent 89e133c626
commit 7ff084e5a8
47 changed files with 41 additions and 35 deletions

View File

@@ -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 {