1
0
mirror of https://github.com/redis/go-redis.git synced 2025-08-07 12:42:55 +03:00

fix pubsub panic on redis reload

This commit is contained in:
Нимо
2019-04-18 19:06:16 +03:00
parent 3f9b4d7004
commit 0f8e53e874

View File

@@ -1551,6 +1551,8 @@ func (c *ClusterClient) pubSub() *PubSub {
cn, err := node.Client.newConn()
if err != nil {
node = nil
return nil, err
}