Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel.chi committed Feb 13, 2023
1 parent 6b7ce7a commit 8a136cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Repositories/PrometheusRepository/Installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ public function install(array $config): void
/** @var RedisManager $redisManager */
$redisManager = $this->app->make(RedisManager::class);
$connection = $config['connections']['prometheus']['redis'];
$redis = $redisManager->connection($connection)->client();
$redis = $redisManager->connection($connection)
->client();

$storage = Redis::fromExistingConnection($redis);
$registry = new CollectorRegistry($storage, false);
Expand Down

0 comments on commit 8a136cc

Please sign in to comment.