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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user