[host][aix] Remove redundant 'or' in parseUptime() found by 'go test'

pull/1809/head
Lomanic 1 week ago
parent 6c9cea2bae
commit ad534c24e9

@ -110,7 +110,7 @@ func parseUptime(uptime string) uint64 {
if err != nil {
return 0
}
case ut[3] == "mins," || ut[3] == "mins,":
case ut[3] == "mins,":
mins, err = strconv.ParseUint(ut[2], 10, 64)
if err != nil {
return 0

Loading…
Cancel
Save