From 7cda614ca1cc29050ad11a3547b177b0baf1d9e5 Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Sun, 11 Nov 2012 16:37:50 +0200 Subject: [PATCH] Fix compilation. --- README.md | 6 ++---- redis.go | 2 +- redis_test.go | 10 ---------- 3 files changed, 3 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 51ca062..fbb58be 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ -Readme -====== - -Redis client for Golang. +Redis client for Golang +======================= Supports: diff --git a/redis.go b/redis.go index c5852c5..2cd0aa7 100644 --- a/redis.go +++ b/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 } } diff --git a/redis_test.go b/redis_test.go index 2cca2f6..f8d9bdb 100644 --- a/redis_test.go +++ b/redis_test.go @@ -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)