Skip to content

Commit

Permalink
Fix bux causing Ints call to swallow error returned from the connecti…
Browse files Browse the repository at this point in the history
…on object
szank committed Sep 1, 2015
1 parent 5f01fdd commit 7010c1c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions redis/reply.go
Original file line number Diff line number Diff line change
@@ -275,9 +275,6 @@ func Strings(reply interface{}, err error) ([]string, error) {
// err is not equal to nil, then Ints returns nil, err.
func Ints(reply interface{}, err error) ([]int, error) {
var ints []int
if reply == nil {
return ints, ErrNil
}
values, err := Values(reply, err)
if err != nil {
return ints, err

0 comments on commit 7010c1c

Please sign in to comment.