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