Skip to content

Commit

Permalink
fix cluster connecting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jun 4, 2019
1 parent abb1f77 commit 2bcb405
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Illuminate/Redis/RedisManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ public function resolve($name = null)
protected function resolveCluster($name)
{
return $this->connector()->connectToCluster(
$this->parseConnectionConfiguration($this->config['clusters'][$name]),
array_map(function ($config) {
return $this->parseConnectionConfiguration($config);
}, $this->config['clusters'][$name]),
$this->config['clusters']['options'] ?? [],
$this->config['options'] ?? []
);
Expand Down

0 comments on commit 2bcb405

Please sign in to comment.