Skip to content

Commit

Permalink
Removed unused return parameter name
Browse files Browse the repository at this point in the history
  • Loading branch information
tortuoise committed Aug 13, 2015
1 parent 1a6effc commit 3bc41d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redis/pool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3bc41d5

Please sign in to comment.