Add missing wiki fragments to health checks

This commit is contained in:
Bogdan 2023-05-13 03:54:22 +03:00 committed by Mark McDowall
parent 560a9b63ca
commit bb97fbc23f
2 changed files with 4 additions and 3 deletions

View File

@ -83,7 +83,8 @@ namespace NzbDrone.Core.HealthCheck.Checks
{ {
return new HealthCheck(GetType(), return new HealthCheck(GetType(),
HealthCheckResult.Warning, HealthCheckResult.Warning,
_localizationService.GetLocalizedString("ImportMechanismHandlingDisabledHealthCheckMessage")); _localizationService.GetLocalizedString("ImportMechanismHandlingDisabledHealthCheckMessage"),
"#completed-download-handling-is-disabled");
} }
return new HealthCheck(GetType()); return new HealthCheck(GetType());

View File

@ -25,14 +25,14 @@ namespace NzbDrone.Core.HealthCheck.Checks
if (enabled.Empty()) if (enabled.Empty())
{ {
return new HealthCheck(GetType(), HealthCheckResult.Error, _localizationService.GetLocalizedString("IndexerRssNoIndexersEnabledHealthCheckMessage")); return new HealthCheck(GetType(), HealthCheckResult.Error, _localizationService.GetLocalizedString("IndexerRssNoIndexersEnabledHealthCheckMessage"), "#no-indexers-available-with-rss-sync-enabled-sonarr-will-not-grab-new-releases-automatically");
} }
var active = _indexerFactory.RssEnabled(true); var active = _indexerFactory.RssEnabled(true);
if (active.Empty()) if (active.Empty())
{ {
return new HealthCheck(GetType(), HealthCheckResult.Warning, _localizationService.GetLocalizedString("IndexerRssNoIndexersAvailableHealthCheckMessage")); return new HealthCheck(GetType(), HealthCheckResult.Warning, _localizationService.GetLocalizedString("IndexerRssNoIndexersAvailableHealthCheckMessage"), "#indexers-are-unavailable-due-to-failures");
} }
return new HealthCheck(GetType()); return new HealthCheck(GetType());