Skip to content

Commit 0801a6d

Browse files
committed
fix
1 parent 92a2fb5 commit 0801a6d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/redis_client/cluster_config.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ def initialize( # rubocop:disable Metrics/ParameterLists
4444
slow_command_timeout: SLOW_COMMAND_TIMEOUT,
4545
command_builder: ::RedisClient::CommandBuilder,
4646
max_startup_sample: MAX_STARTUP_SAMPLE,
47-
id: nil,
4847
**client_config
4948
)
5049

@@ -61,7 +60,7 @@ def initialize( # rubocop:disable Metrics/ParameterLists
6160
@client_implementation = client_implementation
6261
@slow_command_timeout = slow_command_timeout
6362
@max_startup_sample = max_startup_sample
64-
@id = id
63+
@id = client_config[:id]
6564
end
6665

6766
def inspect

0 commit comments

Comments
 (0)