fix golint issues (#532)
This commit is contained in:
@@ -67,6 +67,7 @@ func init() {
|
||||
}
|
||||
}
|
||||
|
||||
// RefreshCpu refreshes cpu usage and returns.
|
||||
func RefreshCpu() uint64 {
|
||||
total, err := totalCpuUsage()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user