mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Fixed: mono 4.4.2 won't trigger mono version error
This commit is contained in:
parent
1251e294cd
commit
1a61796092
2 changed files with 2 additions and 1 deletions
|
@ -25,6 +25,7 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks
|
|||
[TestCase("4.0.0.0")]
|
||||
[TestCase("4.2")]
|
||||
[TestCase("4.6")]
|
||||
[TestCase("4.4.2")]
|
||||
public void should_return_ok(string version)
|
||||
{
|
||||
GivenOutput(version);
|
||||
|
|
|
@ -39,7 +39,7 @@ namespace NzbDrone.Core.HealthCheck.Checks
|
|||
return new HealthCheck(GetType(), HealthCheckResult.Error, "your mono version 3.4.0 has a critical bug, you should upgrade to a higher version");
|
||||
}
|
||||
|
||||
if (version >= new Version(4, 4, 0) && version < new Version(4, 5))
|
||||
if (version == new Version(4, 4, 0) || version == new Version(4, 4, 1))
|
||||
{
|
||||
_logger.Debug("mono version {0}", version);
|
||||
return new HealthCheck(GetType(), HealthCheckResult.Error, $"your mono version {version} has a bug that causes issues connecting to indexers/download clients");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue