Skip to content

Commit 380aec4

Browse files
Merge pull request #3 from intouchinsight/ip-7076-updating-for-auto-discovery
Patching configuration for self-discovery
2 parents 9877d7e + 28c8ad9 commit 380aec4

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/ServiceProvider.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ class ServiceProvider extends BaseServiceProvider
2222
*/
2323
public function register()
2424
{
25-
//
25+
$this->mergeConfigFrom(__DIR__.'/../config/laravel-aws-cache.php', 'laravel-aws-cache');
26+
2627
}
2728

2829
/**
@@ -32,10 +33,6 @@ public function register()
3233
*/
3334
public function boot(CacheManager $manager, Repository $config)
3435
{
35-
$this->publishes([
36-
__DIR__.'/../config/laravel-aws-cache.php' => config_path('laravel-aws-cache.php'),
37-
]);
38-
3936
if (config('laravel-aws-cache.enable')) {
4037
$this->insertCredentialSetting($manager, $config);
4138
}

0 commit comments

Comments
 (0)