This commit is contained in:
Vladimir Mihailenco 2018-08-27 08:29:25 +03:00
parent 1614e579ed
commit 86155dcfb7
1 changed files with 1 additions and 1 deletions

View File

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