Skip to content
This repository was archived by the owner on Jul 17, 2024. It is now read-only.

Commit 6212b0b

Browse files
author
Bradley Whittington
authored
Merge pull request #2 from jfcorsini/master
Fix config retrieval
2 parents 17dcf7f + d74da49 commit 6212b0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PrometheusServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function register()
4949
$this->app->bind(Adapter::class, function ($app) {
5050
$factory = $app['prometheus.storage_adapter_factory']; /** @var StorageAdapterFactory $factory */
5151
$driver = config('prometheus.storage_adapter');
52-
$configs = config('storage_adapters');
52+
$configs = config('prometheus.storage_adapters');
5353
$config = array_get($configs, $driver, []);
5454
return $factory->make($driver, $config);
5555
});

0 commit comments

Comments
 (0)