to filter by filesystem type, we need to pass that up the chain

This commit is contained in:
Simon Fraser
2015-08-10 20:43:15 +01:00
committed by Cameron Sparr
parent c1dc77c69c
commit 1d8c7a74d6
3 changed files with 4 additions and 2 deletions

View File

@@ -63,6 +63,7 @@ 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
}