Skip to content

Commit 50560b6

Browse files
committed
Appease rubocop
1 parent 07b2475 commit 50560b6

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

lib/redis_client/cluster_config.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ def initialize( # rubocop:disable Metrics/ParameterLists
4747
max_startup_sample: MAX_STARTUP_SAMPLE,
4848
**client_config
4949
)
50-
5150
@replica = true & replica
5251
@replica_affinity = replica_affinity.to_s.to_sym
5352
@fixed_hostname = fixed_hostname.to_s

test/cluster_controller.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ def initialize(node_addrs,
4747
replica_size: DEFAULT_REPLICA_SIZE,
4848
state_check_attempts: DEFAULT_MAX_ATTEMPTS,
4949
**kwargs)
50-
5150
@shard_size = shard_size
5251
@replica_size = replica_size
5352
@number_of_replicas = @replica_size * @shard_size

0 commit comments

Comments
 (0)