Amended registration of health check scheduled notifiers (email and Slack) to use a resolver method and allow others to be added without modifying core
This commit is contained in:
@@ -544,6 +544,8 @@ namespace Umbraco.Web
|
||||
|
||||
HealthCheckResolver.Current = new HealthCheckResolver(LoggerResolver.Current.Logger,
|
||||
() => PluginManager.ResolveTypes<HealthCheck.HealthCheck>());
|
||||
HealthCheckNotificationMethodResolver.Current = new HealthCheckNotificationMethodResolver(LoggerResolver.Current.Logger,
|
||||
() => PluginManager.ResolveTypes<HealthCheck.NotificationMethods.IHealthCheckNotificatationMethod>());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user