1
0
mirror of https://github.com/google/gops.git synced 2025-02-19 19:59:55 +02:00

Remove unnecessary type conversion (#105)

This commit is contained in:
Tobias Klauser 2020-05-14 22:03:09 +02:00 committed by GitHub
parent ed67c5b345
commit ea7dd03981
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,7 +170,7 @@ func elapsedTime(p *process.Process) (string, error) {
if err != nil {
return "", err
}
etime := time.Since(time.Unix(int64(crtTime/1000), 0))
etime := time.Since(time.Unix(crtTime/1000, 0))
return fmtEtimeDuration(etime), nil
}