Skip to content
This repository was archived by the owner on Jan 9, 2024. It is now read-only.

Commit 707ae23

Browse files
Jake HiltonGrokzen
authored andcommitted
Fix to the redis cluster ssl connection.
1 parent a154a6f commit 707ae23

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rediscluster/connection.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ class SSLClusterConnection(SSLConnection):
7070

7171
def __init__(self, **kwargs):
7272
self.readonly = kwargs.pop('readonly', False)
73+
# need to pop this off as the redis/connection.py SSLConnection init doesn't work with ssl passed in
74+
if 'ssl' in kwargs:
75+
kwargs.pop('ssl')
7376
kwargs['parser_class'] = ClusterParser
7477
super(SSLClusterConnection, self).__init__(**kwargs)
7578

0 commit comments

Comments
 (0)