|
|
@ -22,7 +22,7 @@ namespace NzbDrone.Core.HealthCheck.Checks
|
|
|
|
[CheckOn(typeof(ModelEvent<RemotePathMapping>))]
|
|
|
|
[CheckOn(typeof(ModelEvent<RemotePathMapping>))]
|
|
|
|
[CheckOn(typeof(TrackImportedEvent), CheckOnCondition.FailedOnly)]
|
|
|
|
[CheckOn(typeof(TrackImportedEvent), CheckOnCondition.FailedOnly)]
|
|
|
|
[CheckOn(typeof(TrackImportFailedEvent), CheckOnCondition.SuccessfulOnly)]
|
|
|
|
[CheckOn(typeof(TrackImportFailedEvent), CheckOnCondition.SuccessfulOnly)]
|
|
|
|
public class RemotePathMappingCheck : HealthCheckBase, IProvideHealthCheck
|
|
|
|
public class RemotePathMappingCheck : HealthCheckBase, IProvideHealthCheckWithMessage
|
|
|
|
{
|
|
|
|
{
|
|
|
|
private readonly IDiskProvider _diskProvider;
|
|
|
|
private readonly IDiskProvider _diskProvider;
|
|
|
|
private readonly IProvideDownloadClient _downloadClientProvider;
|
|
|
|
private readonly IProvideDownloadClient _downloadClientProvider;
|
|
|
|