From 51a42bc12a6a7f0f5e72c3b98b354868089fe7cd Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Tue, 24 Nov 2020 15:49:28 +0100 Subject: [PATCH] do not ping on error alerts --- setup-scripts/health-checker.py | 1 - 1 file changed, 1 deletion(-) diff --git a/setup-scripts/health-checker.py b/setup-scripts/health-checker.py index 3b7094b1..e290f7a1 100755 --- a/setup-scripts/health-checker.py +++ b/setup-scripts/health-checker.py @@ -290,7 +290,6 @@ async def check_alerts(): force_notify = True if num_error_alerts > 0: message += "{} Error Alerts found! ".format(num_error_alerts) - force_notify = num_error_alerts > num_siafile_alerts message += "{} Warning Alerts found. ".format(num_warning_alerts) message += "{} SiaFiles with bad health found. ".format(num_siafile_alerts)