소스 검색

Merge pull request #149 from szank/master

Fix bux causing Ints call to swallow error returned from the connecton object
Gary Burd 10 년 전
부모
커밋
88c61e337a
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      redis/reply.go

+ 0 - 3
redis/reply.go

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