mirror of https://github.com/lidarr/Lidarr
Fixed: Execute Remote Path Mapping Check on failed track import
This commit is contained in:
parent
a3cfb52c6a
commit
baa0e17ac6
|
@ -21,7 +21,7 @@ namespace NzbDrone.Core.HealthCheck.Checks
|
||||||
[CheckOn(typeof(ProviderUpdatedEvent<IDownloadClient>))]
|
[CheckOn(typeof(ProviderUpdatedEvent<IDownloadClient>))]
|
||||||
[CheckOn(typeof(ProviderDeletedEvent<IDownloadClient>))]
|
[CheckOn(typeof(ProviderDeletedEvent<IDownloadClient>))]
|
||||||
[CheckOn(typeof(ModelEvent<RemotePathMapping>))]
|
[CheckOn(typeof(ModelEvent<RemotePathMapping>))]
|
||||||
[CheckOn(typeof(TrackImportedEvent), CheckOnCondition.SuccessfulOnly)]
|
[CheckOn(typeof(TrackImportFailedEvent), CheckOnCondition.SuccessfulOnly)]
|
||||||
public class RemotePathMappingCheck : HealthCheckBase, IProvideHealthCheck
|
public class RemotePathMappingCheck : HealthCheckBase, IProvideHealthCheck
|
||||||
{
|
{
|
||||||
private readonly IDiskProvider _diskProvider;
|
private readonly IDiskProvider _diskProvider;
|
||||||
|
|
Loading…
Reference in New Issue