1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-19 00:09:16 +08:00

fix: 解决概览页磁盘显示不全的问题 (#5190)

Refs #5174
This commit is contained in:
ssongliu 2024-05-29 10:39:09 +08:00 committed by GitHub
parent c189c48d51
commit 2c7dcbfe17
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -225,7 +225,7 @@ func loadDiskInfo() []dto.DiskInfo {
if fields[1] == "tmpfs" {
continue
}
if strings.Contains(fields[2], "M") || strings.Contains(fields[2], "K") {
if strings.Contains(fields[2], "K") {
continue
}
if strings.Contains(fields[6], "docker") {