Skip to content

Commit

Permalink
fix: 解决概览页磁盘显示不全的问题 (#5190)
Browse files Browse the repository at this point in the history
Refs #5174
  • Loading branch information
ssongliu authored May 29, 2024
1 parent c189c48 commit 2c7dcbf
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 2c7dcbf

Please sign in to comment.