Skip to content

Commit 9b655ab

Browse files
committed
Fixed unnecessary dependency override
1 parent 90d3e8c commit 9b655ab

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Cofoundry.Plugins.ErrorLogging/Bootstrap/ErrorDependencyRegistration.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@ public class ErrorDependencyRegistration : IDependencyRegistration
1313
{
1414
public void Register(IContainerRegister container)
1515
{
16-
var overrideOptions = RegistrationOptions.Override(RegistrationOverridePriority.Low);
17-
1816
container
19-
.RegisterType<IErrorLoggingService, ErrorLoggingService>(overrideOptions)
17+
.RegisterType<IErrorLoggingService, ErrorLoggingService>()
2018
.RegisterType<ErrorLoggingDbContext>()
2119
;
2220
}

0 commit comments

Comments
 (0)