Simplify system.DiskUsage() (#2630)

This commit is contained in:
Nikolay Denev
2017-04-18 19:42:58 +01:00
committed by Daniel Nelson
parent 018bb9d742
commit cc44150054
8 changed files with 212 additions and 28 deletions

View File

@@ -121,7 +121,7 @@ func init() {
return &CPUStats{
PerCPU: true,
TotalCPU: true,
ps: &systemPS{},
ps: newSystemPS(),
}
})
}