diff --git a/plugins/system/ps.go b/plugins/system/ps.go index 687ccdf7e..0bf67011b 100644 --- a/plugins/system/ps.go +++ b/plugins/system/ps.go @@ -78,11 +78,10 @@ func (s *systemPS) DiskUsage() ([]*disk.DiskUsageStat, error) { for _, p := range parts { du, err := disk.DiskUsage(p.Mountpoint) - du.Fstype = p.Fstype if err != nil { return nil, err } - + du.Fstype = p.Fstype usage = append(usage, du) }