forked from mirror/redis
Fix typo
This commit is contained in:
parent
1614e579ed
commit
86155dcfb7
|
@ -183,7 +183,7 @@ func (cmd *Cmd) Int() (int, error) {
|
||||||
case string:
|
case string:
|
||||||
return strconv.Atoi(val)
|
return strconv.Atoi(val)
|
||||||
default:
|
default:
|
||||||
err := fmt.Errorf("redis: unexpected type=%T for Int64", val)
|
err := fmt.Errorf("redis: unexpected type=%T for Int", val)
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue