We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86101b9 commit b8dbbb0Copy full SHA for b8dbbb0
pkg/status/status.go
@@ -48,10 +48,7 @@ func Disk(INTERVAL *float64) (uint64, uint64) {
48
diskList, _ := disk.Partitions(false)
49
devices := make(map[string]bool)
50
for _, d := range diskList {
51
- if checkValidFs(d.Fstype) {
52
- if devices[d.Device] {
53
- continue
54
- }
+ if !devices[d.Device] && checkValidFs(d.Fstype) {
55
cachedFs[d.Mountpoint] = struct{}{}
56
devices[d.Device] = true
57
}
0 commit comments