Fix compilation.

This commit is contained in:
Vladimir Mihailenco 2012-11-11 16:37:50 +02:00
parent 9e8b988406
commit 7cda614ca1
3 changed files with 3 additions and 15 deletions

View File

@ -1,7 +1,5 @@
Readme
======
Redis client for Golang.
Redis client for Golang
=======================
Supports:

View File

@ -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
}
}

View File

@ -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)