Skip to content

Commit

Permalink
Fix issue with RedisCluster and empty tlsOptions array.
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobBrownAustin committed Sep 17, 2024
1 parent 1f46776 commit f7c5ddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ClusterClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function connect()
$this->readTimeout,
$this->persistentBool, // Note: This can't be $this->persistent, because it is string
['user' => $this->authUsername, 'pass' => $this->authPassword],
$this->tlsOptions,
empty($this->tlsOptions) ? null : $this->tlsOptions,
);
$this->connectFailures = 0;
$this->connected = true;
Expand Down

0 comments on commit f7c5ddc

Please sign in to comment.