forked from mirror/redis
Fix compilation.
This commit is contained in:
parent
9e8b988406
commit
7cda614ca1
|
@ -1,7 +1,5 @@
|
|||
Readme
|
||||
======
|
||||
|
||||
Redis client for Golang.
|
||||
Redis client for Golang
|
||||
=======================
|
||||
|
||||
Supports:
|
||||
|
||||
|
|
2
redis.go
2
redis.go
|
@ -28,7 +28,7 @@ func TLSConnector(addr string, tlsConfig *tls.Config) OpenConnFunc {
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return tls.Client(conn, tlsConfig)
|
||||
return tls.Client(conn, tlsConfig), nil
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -2591,16 +2591,6 @@ func (t *RedisTest) TestCmdClientKill(c *C) {
|
|||
c.Assert(r.Val(), Equals, "")
|
||||
}
|
||||
|
||||
func (t *RedisTest) TestCmdClientList(c *C) {
|
||||
r := t.client.ClientList()
|
||||
c.Assert(r.Err(), IsNil)
|
||||
c.Assert(
|
||||
r.Val(),
|
||||
Matches,
|
||||
"addr=127.0.0.1:[0-9]+ .+\n",
|
||||
)
|
||||
}
|
||||
|
||||
func (t *RedisTest) TestCmdConfigGet(c *C) {
|
||||
r := t.client.ConfigGet("*")
|
||||
c.Assert(r.Err(), IsNil)
|
||||
|
|
Loading…
Reference in New Issue