forked from mirror/redis
fix pubsub panic on redis reload
This commit is contained in:
parent
3f9b4d7004
commit
0f8e53e874
|
@ -1551,6 +1551,8 @@ func (c *ClusterClient) pubSub() *PubSub {
|
|||
|
||||
cn, err := node.Client.newConn()
|
||||
if err != nil {
|
||||
node = nil
|
||||
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue