Переглянути джерело

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"