mirror of https://github.com/Sonarr/Sonarr
Cleanup formatting in PackageGlobalMessageCheck.cs
This commit is contained in:
parent
4ed5fefcc6
commit
fa7aa05d60
|
@ -13,7 +13,6 @@ namespace NzbDrone.Core.HealthCheck.Checks
|
|||
{
|
||||
private readonly IDeploymentInfoProvider _deploymentInfoProvider;
|
||||
|
||||
|
||||
public PackageGlobalMessageCheck(IDeploymentInfoProvider deploymentInfoProvider)
|
||||
{
|
||||
_deploymentInfoProvider = deploymentInfoProvider;
|
||||
|
@ -28,7 +27,7 @@ namespace NzbDrone.Core.HealthCheck.Checks
|
|||
|
||||
var message = _deploymentInfoProvider.PackageGlobalMessage;
|
||||
HealthCheckResult result = HealthCheckResult.Notice;
|
||||
|
||||
|
||||
if (message.StartsWith("Error:"))
|
||||
{
|
||||
message = message.Substring(6);
|
||||
|
|
Loading…
Reference in New Issue