We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67bace2 commit d7e204dCopy full SHA for d7e204d
lib/async/redis/sentinel_client.rb
@@ -26,7 +26,7 @@ class SentinelClient
26
def initialize(endpoints, master_name: DEFAULT_MASTER_NAME, master_options: nil, role: :master, **options)
27
@endpoints = endpoints
28
@master_name = master_name
29
- @master_options = master_options
+ @master_options = master_options || {}
30
@role = role
31
32
@ssl = !!master_options&.key?(:ssl_context)
0 commit comments