Fix lint issues

pull/2812/head v1.0.1.2578
Qstick 2 years ago
parent 15f8890c00
commit 79c70ba868

@ -141,7 +141,6 @@ namespace NzbDrone.Core.HealthCheck
// If we haven't previously re-run health checks after startup grace period run startup checks again and track so they aren't run again. // If we haven't previously re-run health checks after startup grace period run startup checks again and track so they aren't run again.
// Return early after re-running checks to avoid triggering checks multiple times. // Return early after re-running checks to avoid triggering checks multiple times.
if (!_hasRunHealthChecksAfterGracePeriod && !_isRunningHealthChecksAfterGracePeriod && DateTime.UtcNow > _startupGracePeriodEndTime) if (!_hasRunHealthChecksAfterGracePeriod && !_isRunningHealthChecksAfterGracePeriod && DateTime.UtcNow > _startupGracePeriodEndTime)
{ {
_isRunningHealthChecksAfterGracePeriod = true; _isRunningHealthChecksAfterGracePeriod = true;

@ -8,6 +8,7 @@ using NzbDrone.Common.Disk;
using NzbDrone.Common.Extensions; using NzbDrone.Common.Extensions;
using NzbDrone.Common.Processes; using NzbDrone.Common.Processes;
using NzbDrone.Common.Serializer; using NzbDrone.Common.Serializer;
using NzbDrone.Core.HealthCheck;
using NzbDrone.Core.Music; using NzbDrone.Core.Music;
using NzbDrone.Core.ThingiProvider; using NzbDrone.Core.ThingiProvider;
using NzbDrone.Core.Validation; using NzbDrone.Core.Validation;

@ -204,7 +204,6 @@ namespace NzbDrone.Core.Notifications
{ {
// Don't send health check notifications during the start up grace period, // Don't send health check notifications during the start up grace period,
// once that duration expires they they'll be retested and fired off if necessary. // once that duration expires they they'll be retested and fired off if necessary.
if (message.IsInStartupGraceperiod) if (message.IsInStartupGraceperiod)
{ {
return; return;

Loading…
Cancel
Save