mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Use IfaceSliceReq for CONFIG GET because it can return (nil) on Redis 2.4.*.
This commit is contained in:
@ -950,8 +950,8 @@ func (c *Client) ClientList() *StringReq {
|
||||
return req
|
||||
}
|
||||
|
||||
func (c *Client) ConfigGet(parameter string) *StringSliceReq {
|
||||
req := NewStringSliceReq("CONFIG", "GET", parameter)
|
||||
func (c *Client) ConfigGet(parameter string) *IfaceSliceReq {
|
||||
req := NewIfaceSliceReq("CONFIG", "GET", parameter)
|
||||
c.Process(req)
|
||||
return req
|
||||
}
|
||||
|
Reference in New Issue
Block a user