Simplify system.DiskUsage() (#2630)
This commit is contained in:
committed by
Daniel Nelson
parent
70b3e763e7
commit
eb7ef5392e
@@ -121,7 +121,7 @@ func init() {
|
||||
return &CPUStats{
|
||||
PerCPU: true,
|
||||
TotalCPU: true,
|
||||
ps: &systemPS{},
|
||||
ps: newSystemPS(),
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user