1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-08-18 16:29:41 +02:00

New: Mono health check moved from warning to error

This commit is contained in:
Robin Dadswell 2021-05-04 10:23:25 +01:00
parent d2ba70c4d7
commit aa522066ee
3 changed files with 6 additions and 6 deletions

View File

@ -18,9 +18,9 @@ public void should_return_ok_if_net_core()
[Test]
[Platform("Mono")]
public void should_log_warning_if_mono()
public void should_log_error_if_mono()
{
Subject.Check().ShouldBeWarning();
Subject.Check().ShouldBeError();
}
[Test]
@ -41,7 +41,7 @@ public void should_return_ok_if_otherbsd()
[Test]
[Platform("Mono")]
public void should_log_warning_if_freebsd()
public void should_log_error_if_freebsd()
{
Mocker.GetMock<IProcessProvider>()
.Setup(x => x.StartAndCapture("uname", null, null))
@ -52,7 +52,7 @@ public void should_log_warning_if_freebsd()
new ProcessOutputLine(ProcessOutputLevel.Standard, "FreeBSD")
}
});
Subject.Check().ShouldBeWarning();
Subject.Check().ShouldBeError();
}
}
}

View File

@ -39,7 +39,7 @@ public override HealthCheck Check()
}
return new HealthCheck(GetType(),
HealthCheckResult.Warning,
HealthCheckResult.Error,
_localizationService.GetLocalizedString("MonoNotNetCoreCheckMessage"),
"#update_to_net_core_version");
}

View File

@ -527,7 +527,7 @@
"MonitoredOnly": "Monitored Only",
"MonitoredStatus": "Monitored/Status",
"MonitorMovie": "Monitor Movie",
"MonoNotNetCoreCheckMessage": "Please upgrade to the .NET Core version of Radarr",
"MonoNotNetCoreCheckMessage": "Please upgrade to the .NET Core version of Radarr, Mono versions will not be supported in the next release. ",
"MonoTlsCheckMessage": "Radarr Mono 4.x tls workaround still enabled, consider removing MONO_TLS_PROVIDER=legacy environment option",
"MonoVersion": "Mono Version",
"MonoVersionCheckNotSupportedMessage": "Currently installed Mono version {0} is no longer supported. Please upgrade Mono to version {1}.",