mirror of
https://github.com/redis/go-redis.git
synced 2025-10-29 05:29:22 +03:00
Don't panic if cluster state is nil.
This commit is contained in:
@@ -578,7 +578,7 @@ var _ = Describe("ClusterClient timeout", func() {
|
||||
var client *redis.ClusterClient
|
||||
|
||||
AfterEach(func() {
|
||||
Expect(client.Close()).NotTo(HaveOccurred())
|
||||
_ = client.Close()
|
||||
})
|
||||
|
||||
testTimeout := func() {
|
||||
|
||||
Reference in New Issue
Block a user