1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-31 05:04:23 +03:00

Don't panic if cluster state is nil.

This commit is contained in:
Vladimir Mihailenco
2017-03-04 13:04:27 +02:00
parent e90826e4c6
commit 15998effbe
2 changed files with 65 additions and 38 deletions

View File

@ -578,7 +578,7 @@ var _ = Describe("ClusterClient timeout", func() {
var client *redis.ClusterClient
AfterEach(func() {
Expect(client.Close()).NotTo(HaveOccurred())
_ = client.Close()
})
testTimeout := func() {