Skip to content

Commit

Permalink
fix: 解决概览页磁盘显示不全的问题 (1Panel-dev#5190)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssongliu authored May 29, 2024
1 parent 8087df4 commit 6a3d710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/service/dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down

0 comments on commit 6a3d710

Please sign in to comment.