Return cpu time format error

Return cpu time format error
pull/655/head
Liam Xu 6 years ago
parent f2f18df9db
commit 1b525b7c9c

@ -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

Loading…
Cancel
Save