1
0
mirror of https://github.com/redis/go-redis.git synced 2025-08-10 11:03:00 +03:00

travis: run go vet

This commit is contained in:
Vladimir Mihailenco
2016-11-06 13:29:32 +02:00
parent 80cf5d1652
commit ae523dd552
4 changed files with 3 additions and 2 deletions

View File

@@ -383,7 +383,7 @@ func commandInfoSliceParser(rd *proto.Reader, n int64) (interface{}, error) {
// Implements proto.MultiBulkParse
func timeParser(rd *proto.Reader, n int64) (interface{}, error) {
if n != 2 {
fmt.Errorf("got %d elements, expected 2", n)
return nil, fmt.Errorf("got %d elements, expected 2", n)
}
secStr, err := rd.ReadStringReply()