mirror of
https://github.com/Radarr/Radarr
synced 2024-12-25 17:27:59 +00: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 @@ private void GivenOutput(string version)
|
|||
[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 @@ public override HealthCheck Check()
|
|||
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…
Reference in a new issue