mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-14 11:23:42 +02:00
Cleanup formatting in PackageGlobalMessageCheck.cs
This commit is contained in:
parent
4ed5fefcc6
commit
fa7aa05d60
@ -13,7 +13,6 @@ public class PackageGlobalMessageCheck : HealthCheckBase
|
||||
{
|
||||
private readonly IDeploymentInfoProvider _deploymentInfoProvider;
|
||||
|
||||
|
||||
public PackageGlobalMessageCheck(IDeploymentInfoProvider deploymentInfoProvider)
|
||||
{
|
||||
_deploymentInfoProvider = deploymentInfoProvider;
|
||||
@ -28,7 +27,7 @@ public override HealthCheck Check()
|
||||
|
||||
var message = _deploymentInfoProvider.PackageGlobalMessage;
|
||||
HealthCheckResult result = HealthCheckResult.Notice;
|
||||
|
||||
|
||||
if (message.StartsWith("Error:"))
|
||||
{
|
||||
message = message.Substring(6);
|
||||
|
Loading…
Reference in New Issue
Block a user