Closed tgkavanagh closed 9 years ago
In trying to use ConfigGet("maxmemory") I received the error: "resp: Unsupported conversion: array to string"
After making the following modifications to the commands.go file and it worked as expected:
func (c *Client) ConfigGet(parameter string) ([]string, error) { var ret []string` err := c.command( &ret, []byte("CONFIG"), []byte("GET"), []byte(parameter), ) return ret, err }
Closing this issue as a pull request has been generated with the fix.
In trying to use ConfigGet("maxmemory") I received the error: "resp: Unsupported conversion: array to string"
After making the following modifications to the commands.go file and it worked as expected: