Fixed: Update deleted artist health after refreshing

(cherry picked from commit 415bbf5b3bae44f9f1d4889b1d257510fa9c2980)
This commit is contained in:
Mark McDowall 2019-12-04 09:06:59 -08:00 committed by bakerboy448
parent 28811ace36
commit 6adbbf81ed

View file

@ -9,6 +9,7 @@ namespace NzbDrone.Core.HealthCheck.Checks
{ {
[CheckOn(typeof(ArtistUpdatedEvent))] [CheckOn(typeof(ArtistUpdatedEvent))]
[CheckOn(typeof(ArtistsDeletedEvent), CheckOnCondition.FailedOnly)] [CheckOn(typeof(ArtistsDeletedEvent), CheckOnCondition.FailedOnly)]
[CheckOn(typeof(ArtistRefreshCompleteEvent))]
public class RemovedArtistCheck : HealthCheckBase, ICheckOnCondition<ArtistUpdatedEvent>, ICheckOnCondition<ArtistsDeletedEvent> public class RemovedArtistCheck : HealthCheckBase, ICheckOnCondition<ArtistUpdatedEvent>, ICheckOnCondition<ArtistsDeletedEvent>
{ {
private readonly IArtistService _artistService; private readonly IArtistService _artistService;