mirror of
https://github.com/redis/go-redis.git
synced 2025-04-17 20:17:02 +03:00
Merge pull request #1014 from nnimo/pubsub-panic-fix
fix pubsub panic on redis reload
This commit is contained in:
commit
721116ac0e
@ -1551,6 +1551,8 @@ func (c *ClusterClient) pubSub() *PubSub {
|
||||
|
||||
cn, err := node.Client.newConn()
|
||||
if err != nil {
|
||||
node = nil
|
||||
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user