소스 검색

Removed unused return parameter name

R.C.Sridhar 10 년 전
부모
커밋
3bc41d5b0b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      redis/pool_test.go

+ 1 - 1
redis/pool_test.go

@@ -35,7 +35,7 @@ type poolTestConn struct {
 func (c *poolTestConn) Close() error { c.d.open -= 1; return nil }
 func (c *poolTestConn) Err() error   { return c.err }
 
-func (c *poolTestConn) Do(commandName string, args ...interface{}) (reply interface{}, err error) {
+func (c *poolTestConn) Do(commandName string, args ...interface{}) (interface{}, error) {
 	if commandName == "ERR" {
 		c.err = args[0].(error)
 		commandName = "PING"