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 91ba198 commit dde5f6eCopy full SHA for dde5f6e
lib/async/redis/sentinel_client.rb
@@ -25,7 +25,7 @@ class SentinelClient
25
def initialize(endpoints, master_name: DEFAULT_MASTER_NAME, master_options: nil, role: :master, **options)
26
@endpoints = endpoints
27
@master_name = master_name
28
- @master_options = master_options
+ @master_options = master_options || {}
29
@role = role
30
31
@ssl = !!master_options&.key?(:ssl_context)
0 commit comments