Return cpu time format error

Return cpu time format error
This commit is contained in:
Liam Xu 2019-03-22 11:44:52 -07:00
parent f2f18df9db
commit 1b525b7c9c
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ func convertCPUTimes(s string) (ret float64, err error) {
case 1, 0:
_tmp = s
default:
return ret, err
return ret, fmt.Errorf("wrong cpu time string")
}
} else {
_tmp = s