mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-27 22:57:09 -04:00
Improve indexer health check messages (#1015)
* Improve indexer health check messages Fixed: Improve health check message when all enabled indexers are disabled due to failures Closes #1551 * Fixed: Health check failing and preventing others from running * Fixed Indexer Health Checks and tests.
This commit is contained in:
committed by
Devin Buhl
parent
7433e89467
commit
9787cf6cdd
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Xml.Linq;
|
||||
|
||||
namespace NzbDrone.Common.Extensions
|
||||
{
|
||||
public static class XmlExtensions
|
||||
{
|
||||
public static IEnumerable<XElement> FindDecendants(this XContainer container, string localName)
|
||||
{
|
||||
return container.Descendants().Where(c => c.Name.LocalName.Equals(localName, StringComparison.InvariantCultureIgnoreCase));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user